Registry / utility / hermeznetwork-tracerr

hermeznetwork-tracerr

JSON →
library0.3.2gogounverified

Adds stack traces and source code fragments to Go errors for more informative debugging.

go get github.com/hermeznetwork/tracerr
INSTALL
IMPORT
SIG · HERMEZNETWORK-TRAC
H
hermeznetwork-tracerr
utilitygov0.3.2
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/hermeznetwork/tracerr

Wrap an error with a stack trace and print it

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
hermeznetwork-tracerr — go get hermeznetwork-tracerr · libregistry