Variable: GATEWAY_STATUS
constGATEWAY_STATUS:object
Defined in: contract.ts:8
Statuses a gateway uses.
Type Declaration
badGateway
readonlybadGateway:502=502
The upstream or the chain lookup failed.
bodyTooLarge
readonlybodyTooLarge:413=413
The request body exceeds the gateway's cap.
conflict
readonlyconflict:409=409
A single-use consume conflicts: see GatewayConflictCode.
denied
readonlydenied:403=403
The proof was refused (bad signature, expired nonce, no usable pass, gate paused, no consume).
gatewayTimeout
readonlygatewayTimeout:504=504
The upstream did not answer in time.
loopDetected
readonlyloopDetected:508=508
The request already carries this gateway's Via marker: it looped back through the gateway.
methodNotAllowed
readonlymethodNotAllowed:405=405
The method is not forwarded (or not allowed on a public path).
missingProof
readonlymissingProof:401=401
No access proof on a gated path.
rateLimited
readonlyrateLimited:429=429
stateUnavailable
readonlystateUnavailable:503=503
The gateway's own state store is unavailable (never reported as a conflict).