v1.0.0
Installation
go get github.com/blackwell-systems/err-envelope@v1.0.0Documentation
What's Included
- Structured JSON error responses (code/message/details/trace_id/retryable)
- Machine-readable error codes for client-side handling
- Trace ID support for request correlation and debugging
- Framework integrations (chi, gin, echo)
- Comprehensive examples and documentation
- JSON Schema for contract testing and type generation
Versioning
This library follows semantic versioning. The error envelope fields (code, message, details, trace_id, retryable) will not break in minor releases.
Error codes are stable and will never change. Messages may evolve for clarity.