Documentation ¶
Index ¶
- func Errorf(c ErrorCode, n v1alpha1.NodeID, msgFmt string, args ...interface{}) error
- func Matches(err error, code ErrorCode) bool
- func Wrapf(c ErrorCode, n v1alpha1.NodeID, cause error, msgFmt string, ...) error
- type ErrorCode
- type ErrorCollection
- type ErrorMessage
- type NodeError
- type NodeErrorWithCause
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorCode ¶
const ( UnknownError ErrorCode = "UnknownError" InitializationError ErrorCode = "InitializationError" NotYetImplementedError ErrorCode = "NotYetImplementedError" DownstreamNodeNotFoundError ErrorCode = "DownstreamNodeNotFound" UserProvidedError ErrorCode = "UserProvidedError" IllegalStateError ErrorCode = "IllegalStateError" BadSpecificationError ErrorCode = "BadSpecificationError" UnsupportedTaskTypeError ErrorCode = "UnsupportedTaskType" BindingResolutionError ErrorCode = "BindingResolutionError" CausedByError ErrorCode = "CausedByError" RuntimeExecutionError ErrorCode = "RuntimeExecutionError" SubWorkflowExecutionFailed ErrorCode = "SubWorkflowExecutionFailed" SubWorkflowExecutionFailing ErrorCode = "SubWorkflowExecutionFailing" RemoteChildWorkflowExecutionFailed ErrorCode = "RemoteChildWorkflowExecutionFailed" NoBranchTakenError ErrorCode = "NoBranchTakenError" OutputsNotFoundError ErrorCode = "OutputsNotFoundError" InputsNotFoundError ErrorCode = "InputsNotFoundError" StorageError ErrorCode = "StorageError" EventRecordingFailed ErrorCode = "EventRecordingFailed" CatalogCallFailed ErrorCode = "CatalogCallFailed" InvalidArrayLength ErrorCode = "InvalidArrayLength" )
func GetErrorCode ¶
type ErrorCollection ¶
type ErrorCollection struct {
Errors []error
}
func (ErrorCollection) Error ¶
func (e ErrorCollection) Error() string
type ErrorMessage ¶
type ErrorMessage = string
type NodeError ¶
type NodeError struct { ErrCode ErrorCode Message ErrorMessage Node v1alpha1.NodeID }
type NodeErrorWithCause ¶
type NodeErrorWithCause struct { NodeError error // contains filtered or unexported fields }
func (*NodeErrorWithCause) Cause ¶
func (n *NodeErrorWithCause) Cause() error
func (*NodeErrorWithCause) Code ¶
func (n *NodeErrorWithCause) Code() ErrorCode
func (*NodeErrorWithCause) Error ¶
func (n *NodeErrorWithCause) Error() string
func (*NodeErrorWithCause) Is ¶
func (n *NodeErrorWithCause) Is(target error) bool
func (*NodeErrorWithCause) Unwrap ¶
func (n *NodeErrorWithCause) Unwrap() error
Click to show internal directories.
Click to hide internal directories.