Versions in this module Expand all Collapse all v0 v0.1.0 Jan 17, 2026 Changes in this version + const CodeBadRequest + const CodeForbidden + const CodeInternal + const CodeMethodNotAllowed + const CodeNotFound + const CodePayloadTooLarge + const CodeRateLimited + const CodeTimeout + const CodeUnauthorized + const CodeValidation + type Error struct + Cause error + Code string + Message string + Status int + func As(err error) *Error + func BadRequest(message string, cause error) *Error + func Forbidden(message string, cause error) *Error + func Internal(message string, cause error) *Error + func MethodNotAllowed(message string, cause error) *Error + func New(code string, status int, message string, cause error) *Error + func NotFound(message string, cause error) *Error + func PayloadTooLarge(message string, cause error) *Error + func RateLimited(message string, cause error) *Error + func Timeout(message string, cause error) *Error + func Unauthorized(message string, cause error) *Error + func Validation(message string, cause error) *Error + func (e *Error) Error() string + func (e *Error) Unwrap() error