You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement the Go HTTP error and Problem Details API #24
Start from main after #22 merges. Add github.com/udibo/http-error/go under go/. Provide one options-style constructor, a Go error with cause unwrapping, and net/http response parsing and writing. Preserve optional empty and false values. Use the shared defaults for every status from 400 through 599.
detail is the exposed message. Hide private 5xx details. From must discard source headers. Preserve repeated fields on outgoing responses, including distinct Set-Cookie values. Match standard JSON members exactly and preserve extensions according to the I-JSON number contract. Document the exported API and Go-specific decisions in go/EXPORTS.md and go/PORTING.md.
Activity