Categorygithub.com/src-d/go-errors
modulepackage
0.1.0
Repository: https://github.com/src-d/go-errors.git
Documentation: pkg.go.dev

# Functions

Any checks if err matches any matchers.
Is check if err matches all matchers.
NewKind returns a Kind with the given msg.
NewStackTrace returns a new StackTrace, skipping the given number of frames, to avoid including the caller.

# Structs

Error represents an error of some Kind, implements the error interface.
Kind represents the kind of an error, from a Kind you can generate as many Error instances as you want of this Kind.
StackTrace is stack of Frames from innermost (newest) to outermost (oldest).

# Interfaces

Matcher matches a given error.