package
0.0.0-20220323014127-0e85dd5dcadd
Repository: https://github.com/stevenacoffman/anotherr.git
Documentation: pkg.go.dev
# Functions
As finds the first error in err's chain that matches the type to which target points, and if so, sets the target to its value and returns true.
New creates an error with a simple error message.
Newf creates an error with a formatted error message.
NewWithDepth is like New() except the depth to capture the stack trace is configurable.
NewWithDepthf is like Newf() except the depth to capture the stack trace is configurable.
WithMessage annotates err with a new message.
WithMessagef annotates err with the format specifier.
Wrap wraps an error with a message prefix.
Wrapf wraps an error with a formatted message prefix.
WrapWithDepth is like Wrap except the depth to capture the stack trace is configurable.
WrapWithDepthf is like Wrapf except the depth to capture the stack trace is configurable.