Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorCode ¶
type ErrorCode = string
const ( TaskFailedWithError ErrorCode = "TaskFailedWithError" DownstreamSystemError ErrorCode = "DownstreamSystemError" TaskFailedUnknownError ErrorCode = "TaskFailedUnknownError" BadTaskSpecification ErrorCode = "BadTaskSpecification" TaskEventRecordingFailed ErrorCode = "TaskEventRecordingFailed" MetadataAccessFailed ErrorCode = "MetadataAccessFailed" MetadataTooLarge ErrorCode = "MetadataTooLarge" PluginInitializationFailed ErrorCode = "PluginInitializationFailed" CacheFailed ErrorCode = "AutoRefreshCacheFailed" RuntimeFailure ErrorCode = "RuntimeFailure" )
func GetErrorCode ¶
type TaskErrorWithCause ¶
type TaskErrorWithCause struct { *TaskError // contains filtered or unexported fields }
func Wrapf ¶
func Wrapf(errorCode ErrorCode, err error, msgFmt string, args ...interface{}) *TaskErrorWithCause
func (*TaskErrorWithCause) Cause ¶
func (e *TaskErrorWithCause) Cause() error
func (*TaskErrorWithCause) Error ¶
func (e *TaskErrorWithCause) Error() string
Click to show internal directories.
Click to hide internal directories.