Registry / utility / friendsofgo-errors

friendsofgo-errors

JSON →
library0.9.2gogounverified

Provides error handling primitives with stack traces and context wrapping, based on Dave Cheney's errors package.

utility
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.

github.com/friendsofgo/errors

Creates a new error with a stack trace.

package main import ( "fmt" "github.com/friendsofgo/errors" ) func main() { err := errors.New("something went wrong") fmt.Println(err) }
Debug
Known footguns
gotchaThis package shadows the standard library errors package; importing both requires aliasing.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources