Package Usage: go: braces.dev/errtrace
Package errtrace provides the ability to track a return trace for errors.
This differs from a stack trace in that
it is not a snapshot of the call stack at the time of the error,
but rather a trace of the path taken by the error as it was returned
until it was finally handled.
Use the Wrap function at a return site
to annotate it with the position of the return.
errtrace provides the Format and FormatString functions
to obtain the return trace of an error.
See Format for details of the output format.
Additionally, errors returned by errtrace will also print a trace
if formatted with the %+v verb when used with a Printf-style function.
https://github.com/bracesdev/errtrace.
4 versions
Latest release: over 1 year ago
11 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/braces.dev/errtrace