Documentation ¶
Index ¶
- func Error(msg string) error
- func Errorf(msg string, args ...interface{}) error
- func NewMultiError(errors ...error) error
- func WrapComplexError(cause, err error) error
- func WrapError(cause error, msg string) error
- func WrapErrorf(cause error, msg string, args ...interface{}) error
- type ComplexError
- type MultiError
- type ShortenableError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMultiError ¶
func WrapComplexError ¶
func WrapErrorf ¶
Types ¶
type ComplexError ¶
func (ComplexError) Error ¶
func (e ComplexError) Error() string
func (ComplexError) ShortError ¶
func (e ComplexError) ShortError() string
type MultiError ¶
type MultiError struct {
Errors []error
}
func (MultiError) Error ¶
func (e MultiError) Error() string
type ShortenableError ¶
Click to show internal directories.
Click to hide internal directories.