Registry / utility / hashicorp-errwrap

hashicorp-errwrap

JSON →
library1.1.0gogounverified

Package errwrap implements methods to formalize error wrapping in Go.

go get github.com/hashicorp/errwrap
INSTALL
IMPORT
SIG · HASHICORP-ERRWRAP
H
hashicorp-errwrap
utilitygov1.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.

errwrap
github.com/hashicorp/errwrap

Wraps an error with additional context.

import "github.com/hashicorp/errwrap" func main() { err := errwrap.Wrap("context", errors.New("original error")) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hashicorp-errwrap — go get hashicorp-errwrap · libregistry