package
0.0.0-20220323014127-0e85dd5dcadd
Repository: https://github.com/stevenacoffman/anotherr.git
Documentation: pkg.go.dev

# Functions

ElideSharedStackTraceSuffix removes the suffix of newStack that's already present in prevStack.
FormatError formats an error according to s and verb.
Formattable wraps an error into a fmt.Formatter which will provide "smart" formatting even if the outer layer of the error does not implement the Formatter interface.
MakeFormat reproduces the format currently active in fmt.State and verb.
RegisterSpecialCasePrinter registers a handler.
UnwrapAll accesses the root cause object of the error.
UnwrapOnce accesses the direct cause of the error if any, otherwise returns nil.

# Interfaces

A Formatter formats error messages.
A Printer formats error messages.
StackTraceProvider is a provider of StackTraces.

# Type aliases

StackFrame is the type of a single call frame entry.
StackTrace is the type of the data for a call stack.