Skip to content
Buy me a coffee

httpStatusFor

httpStatusFor(error): number | undefined

Defined in: src/http.ts:6

HTTP status for a resilience error: 504 timeout, 429 rate limited, 503 open circuit / full bulkhead, 409 lock held; undefined for other errors.

unknown

number | undefined