Versions in this module Expand all Collapse all v0 v0.1.0 Sep 6, 2019 Changes in this version + 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 string + const BadSpecificationError + const CausedByError + const EventRecordingError + const IllegalStateError + const RuntimeExecutionError + func GetErrorCode(err error) (code ErrorCode, isWorkflowError bool) + func (e ErrorCode) String() string + type ErrorMessage = string + type WorkflowError struct + Code ErrorCode + Message ErrorMessage + Workflow v1alpha1.WorkflowID + func (w *WorkflowError) Error() string + type WorkflowErrorWithCause struct + func (w *WorkflowErrorWithCause) Cause() error + func (w *WorkflowErrorWithCause) Error() string