GatewayError
What GatewayError means, which codes it carries and how to catch it in ensforge. Off-chain resolution (CCIP-Read, ERC-3668) failed.
Error class3 codes · @ensforge/sdk
Off-chain resolution (CCIP-Read, ERC-3668) failed.
Fields
| Field | Type | Description |
|---|---|---|
status | number | |
url | string |
Codes
| Code | Meaning | Retryable |
|---|---|---|
GATEWAY_REQUEST_FAILED | The off-chain gateway request failed. | Yes |
GATEWAY_RESPONSE_INVALID | The off-chain gateway returned an invalid response. | No |
OFFCHAIN_LOOKUP_INVALID | The resolver requested an off-chain lookup from an unexpected sender. | No |
Catch it
Effect.catchTag("GatewayError", …) or error instanceof Errors.GatewayError. See Handle errors.
Was this page helpful?