Skip to content

Function: parseGatewayError() ​

parseGatewayError(body): GatewayErrorBody

Defined in: contract.ts:44

Parse a gateway error body, or null if body is not one. Unknown codes are dropped, never trusted, so a client switches only on codes this version knows.

Parameters ​

body ​

unknown

Returns ​

GatewayErrorBody

2026 Meddleware. All jams preserved.