Documentation ¶
Index ¶
- func Errorf(c ErrorCode, w v1alpha1.WorkflowID, msgFmt string, args ...interface{}) error
- func Matches(err error, code ErrorCode) bool
- func Wrapf(c ErrorCode, w v1alpha1.WorkflowID, cause error, msgFmt string, ...) error
- type ErrorCode
- type ErrorMessage
- type WorkflowError
- type WorkflowErrorWithCause
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorMessage ¶
type ErrorMessage = string
type WorkflowError ¶
type WorkflowError struct { errors.StackTrace Code ErrorCode Message ErrorMessage Workflow v1alpha1.WorkflowID }
func (*WorkflowError) Error ¶
func (w *WorkflowError) Error() string
type WorkflowErrorWithCause ¶
type WorkflowErrorWithCause struct { *WorkflowError // contains filtered or unexported fields }
func (*WorkflowErrorWithCause) Cause ¶
func (w *WorkflowErrorWithCause) Cause() error
func (*WorkflowErrorWithCause) Error ¶
func (w *WorkflowErrorWithCause) Error() string
Click to show internal directories.
Click to hide internal directories.