Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Parsing errors ErrInvalidOverlay = errors.New("invalid overlay document") ErrMissingOverlayField = errors.New("missing required 'overlay' field") ErrMissingInfo = errors.New("missing required 'info' field") ErrMissingActions = errors.New("missing required 'actions' field") ErrEmptyActions = errors.New("actions array must contain at least one action") // JSONPath errors ErrInvalidJSONPath = errors.New("invalid JSONPath expression") ErrPrimitiveTarget = errors.New("JSONPath target resolved to primitive/null; must be object or array") // Application errors ErrNoTargetDocument = errors.New("no target document provided") )
Sentinel errors for overlay operations.
Functions ¶
This section is empty.
Types ¶
type OverlayError ¶
type OverlayError struct {
Action *highoverlay.Action
Cause error
}
OverlayError represents an error that occurred during an overlay application.
func (*OverlayError) Error ¶
func (e *OverlayError) Error() string
func (*OverlayError) Unwrap ¶
func (e *OverlayError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.