Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsHaltingError ¶ added in v1.3.0
IsHaltingError returns true if the error is a fatal error or a request to cancel the operation
Types ¶
type HookErrorFatal ¶ added in v0.17.0
type HookErrorFatal struct {
Err error
}
HookErrorFatal stops evaluation of subsequent hooks and will propagate to the hook flow's caller
func (HookErrorFatal) Error ¶ added in v0.17.0
func (e HookErrorFatal) Error() string
func (HookErrorFatal) Unwrap ¶ added in v0.17.0
func (e HookErrorFatal) Unwrap() error
type HookErrorRequestCancel ¶ added in v0.17.0
type HookErrorRequestCancel struct {
Err error
}
HookErrorCancel requests that the calling operation cancel itself. It must be handled explicitly caller. Subsequent hooks will be skipped.
func (HookErrorRequestCancel) Error ¶ added in v0.17.0
func (e HookErrorRequestCancel) Error() string
func (HookErrorRequestCancel) Unwrap ¶ added in v0.17.0
func (e HookErrorRequestCancel) Unwrap() error
Click to show internal directories.
Click to hide internal directories.