ConstReadonlyBadGateway: 502HTTP 502 — transient upstream failure. Eligible for retry on GET.
ReadonlyGatewayTimeout: 504HTTP 504 — transient upstream timeout. Eligible for retry on GET.
ReadonlyServiceUnavailable: 503HTTP 503 — transient service unavailability. Eligible for retry on GET.
ReadonlyTooManyRequests: 429HTTP 429 — rate limited. Feeds into the rate-limit gate.
ReadonlyUnauthorized: 401HTTP 401 — authentication required or rejected. Triggers session re-auth.
HTTP status codes used across the SDK. Single source so callers don't redefine them per file (
HTTP_STATUS_UNAUTHORIZEDwas declared in three places before this module existed).Restricted to the codes the SDK actually branches on — adding more here without a real call site is dead weight.