Documentation ¶
Index ¶
- Variables
- func Cause(err error) error
- func New(msg string) error
- func NewWithCode(msg string, code interface{}) error
- func NewWithError(err error) error
- func UnWrap(err error) error
- func WrapMessage(err error, msg string) error
- func WrapMessageWithCode(err error, msg string, code interface{}) error
- type BaseError
- type MultiError
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSeparator string = "\n"
Functions ¶
func NewWithCode ¶
func NewWithError ¶
func WrapMessage ¶
func WrapMessageWithCode ¶
Types ¶
type MultiError ¶ added in v1.2.4
type MultiError interface { error AddErrors(errs ...error) MultiError IsNil() bool Err() error }
func DefaultMultiError ¶ added in v1.2.4
func DefaultMultiError() MultiError
func NewMultiError ¶
func NewMultiError(errs ...error) MultiError
Click to show internal directories.
Click to hide internal directories.