Registry / utility / ansel1-merry-v2

ansel1-merry-v2

JSON →
library2.2.3gogounverified

Merry adds context to errors, including automatic stack capture, cause chains, HTTP status codes, user messages, and arbitrary values.

go get github.com/ansel1/merry/v2
INSTALL
IMPORT
SIG · ANSEL1-MERRY-V2
A
ansel1-merry-v2
utilitygov2.2.3
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.

merry
github.com/ansel1/merry/v2

Create a new error with stack trace

package main import ( "fmt" "github.com/ansel1/merry/v2" ) func main() { err := merry.New("something went wrong") fmt.Println(err) }
Debug
Known issues
gotchaStack capture can impact performance; disable if not needed.
fix
Use merry.SetStackCaptureEnabled(false) to disable stack capture globally.
affects: all
Upgrade
Version history
2.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
2
Meta
1
Resources
ansel1-merry-v2 — go get ansel1-merry-v2 · libregistry