Registry / utility / ztrue-tracerr

ztrue-tracerr

JSON →
library0.4.0gogounverified

Package tracerr makes error output more informative by adding stack traces and context to Go errors.

go get github.com/ztrue/tracerr
INSTALL
IMPORT
SIG · ZTRUE-TRACERR
Z
ztrue-tracerr
utilitygov0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tracerr
github.com/ztrue/tracerr

Create and print a traced error

package main import ( "fmt" "github.com/ztrue/tracerr" ) func main() { err := tracerr.New("something went wrong") fmt.Println(tracerr.Sprint(err)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
Amazon
1
Resources
ztrue-tracerr — go get ztrue-tracerr · libregistry