Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnwrapError ¶
UnwrapError attempts to unwrap the error down to its root cause.
func WrapErrorf ¶
WrapErrorf wraps an error with a message.
Types ¶
type WrappedError ¶
type WrappedError interface { // Message gets the basic message of the error. Message() string // Inner gets the inner error if one exists. Inner() error }
WrappedError represents an error that contains another error.
Click to show internal directories.
Click to hide internal directories.