Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + 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 = errors.ErrorCode + const BadSpecificationError + const BindingResolutionError + const CatalogCallFailed + const CausedByError + const DownstreamNodeNotFoundError + const EventRecordingFailed + const IllegalStateError + const InitializationError + const InputsNotFoundError + const InvalidArrayLength + const NoBranchTakenError + const NotYetImplementedError + const OutputsNotFoundError + const PromiseAttributeResolveError + const RemoteChildWorkflowExecutionFailed + const RuntimeExecutionError + const StorageError + const SubWorkflowExecutionFailed + const SubWorkflowExecutionFailing + const UnknownError + const UnsupportedTaskTypeError + const UserProvidedError + func GetErrorCode(err error) (code ErrorCode, isNodeError bool) + type ErrorCollection struct + Errors []error + func (e ErrorCollection) Error() string + type ErrorMessage = string + type NodeError struct + ErrCode ErrorCode + Message ErrorMessage + Node v1alpha1.NodeID + func (n *NodeError) Code() ErrorCode + func (n *NodeError) Error() string + func (n *NodeError) Is(target error) bool + type NodeErrorWithCause struct + NodeError error + func (n *NodeErrorWithCause) Cause() error + func (n *NodeErrorWithCause) Code() ErrorCode + func (n *NodeErrorWithCause) Error() string + func (n *NodeErrorWithCause) Is(target error) bool + func (n *NodeErrorWithCause) Unwrap() error