Categorygithub.com/facebookgo/stackerr
modulepackage
0.0.0-20150612192056-c2fcf88613f4
Repository: https://github.com/facebookgo/stackerr.git
Documentation: pkg.go.dev

# README

# Functions

Equals returns a Matcher to check if an error equals the given error.
HasUnderlying returns true if any of the underlying errors satisfy the given Matcher.
New returns a new error that includes the Stack.
Newf formats and returns a new error that includes the Stack.
Underlying returns all the underlying errors by iteratively checking if the error has an Underlying error.
Wrap provides a convenience function that calls WrapSkip with skip=0.
WrapSkip the error and add the current Stack.

# Structs

Error provides the wrapper that adds multiple Stacks to an error.

# Interfaces

Matcher defines the interface to check if an error matches an expectation.

# Type aliases

MatcherFunc allows using a function as a Matcher.