Versions in this module Expand all Collapse all v0 v0.1.0 Aug 30, 2026 Changes in this version + func ExtractHTTPStatusCode(err error) (int, bool) + type Category string + const Application + const Authentication + const Authorization + const Connectivity + const InvalidRequest + const Quota + const RateLimit + const Server + const Unknown + const Unset + func ClassifyError(err error) Category + func ClassifyHTTPStatusCode(status int) Category + func (c Category) IsPermanent() bool + func (c Category) String() string + type HTTPStatusError struct + Err error + Status int + func NewHTTPStatusError(status int, err error) *HTTPStatusError + func (e *HTTPStatusError) Error() string + func (e *HTTPStatusError) HTTPStatusCode() int + func (e *HTTPStatusError) Unwrap() error + type StatusCoder interface + HTTPStatusCode func() int