Logo
Explore Help
Sign In
go/xerrors
1
0
Fork 0
You've already forked xerrors
Code Issues Pull Requests Packages Releases 1 Activity
Files
v0.9.0
xerrors/go.mod

4 lines
47 B
Modula-2
Raw Permalink Normal View History

feat(xerrors): initial stable release v0.9.0 Structured application errors with typed codes, cause chaining, key-value context fields, and zero-import logz enrichment bridge. What's included: - `*Err` type implementing error, errors.Unwrap, json.Marshaler, ErrorCode(), and ErrorContext() - Twelve typed Code constants aligned with gRPC canonical status names - New / Wrap factory constructors plus InvalidInput / NotFound / Internal convenience constructors - Builder methods WithContext and WithError for attaching structured fields and causes - Duck-typed ErrorCode() / ErrorContext() bridge so logz auto-enriches log records without an import Tested-via: todo-api POC integration Reviewed-against: docs/adr/
2026-03-18 13:09:31 -06:00
module code.nochebuena.dev/go/xerrors
go 1.25
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 19ms Template: 1ms
English
English
Licenses API