modulepackage
0.0.0-20150612192056-c2fcf88613f4
Repository: https://github.com/facebookgo/stackerr.git
Documentation: pkg.go.dev
# README
stackerr 
Documentation: https://godoc.org/github.com/facebookgo/stackerr
# 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.
# Interfaces
Matcher defines the interface to check if an error matches an expectation.
# Type aliases
MatcherFunc allows using a function as a Matcher.