Registry / utility / errgo-v2

errgo-v2

JSON →
library2.1.0gogounverified

Provides error handling utilities with annotation and masking capabilities.

go get gopkg.in/errgo.v2
INSTALL
IMPORT
SIG · ERRGO-V2
E
errgo-v2
utilitygov2.1.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.

errgo
✓ gopkg.in/errgo.v2

Creates a new annotated error.

import "gopkg.in/errgo.v2" func doSomething() error { return errgo.Newf("something went wrong: %v", err) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
errgo-v2 — go get errgo-v2 · libregistry