Registry / utility / marmotedu-errors

marmotedu-errors

JSON →
library1.0.2gogounverified

A Go package providing error handling primitives with stack traces, wrapping, and context, inspired by github.com/pkg/errors.

go get github.com/marmotedu/errors
INSTALL
IMPORT
SIG · MARMOTEDU-ERRORS
M
marmotedu-errors
utilitygov1.0.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.

errors
github.com/marmotedu/errors

Create an error, wrap it with context, and print the stack trace.

package main import ( "fmt" "github.com/marmotedu/errors" ) func main() { err := errors.New("original error") wrapped := errors.Wrap(err, "additional context") fmt.Printf("%+v\n", wrapped) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
marmotedu-errors — go get marmotedu-errors · libregistry