Documentation ¶
Index ¶
- func As(err error, target interface{}) bool
- func DeduplicateErrors(merr []error) []error
- func Innermost(err error) bool
- func Is(err, target error) bool
- func Join(errs ...error) error
- func New(text string) error
- func Unwrap(err error) error
- func UnwrapAll(err error) []error
- func UnwrapAllExcludingIntermediaries(err error) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeduplicateErrors ¶ added in v0.166.0
DeduplicateErrors de-duplicates equivalent errors.
func UnwrapAll ¶
UnwrapAll recursively unwraps all errors in err, including all intermediate errors.
func UnwrapAllExcludingIntermediaries ¶ added in v0.177.3
UnwrapAllExcludingIntermediaries recursively unwraps all errors in err, excluding all intermediate errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.