# GatewayError

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

What GatewayError means, which codes it carries and how to catch it in ensforge. Off-chain resolution (CCIP-Read, ERC-3668) failed.

Source: https://ensforge.com/docs/reference/errors/gateway-error

<ApiMeta kind="Error class" summary="3 codes · @ensforge/sdk" source="packages/sdk/src/errors/classes/GatewayError.ts#L24" />

Off-chain resolution (CCIP-Read, ERC-3668) failed.

## Fields [#fields]

| Field | Type | Description |
| --- | --- | --- |
| `status` | `number` |  |
| `url` | `string` |  |

## Codes [#codes]

| Code | Meaning | Retryable |
| --- | --- | --- |
| [`GATEWAY_REQUEST_FAILED`](/docs/reference/errors/GATEWAY_REQUEST_FAILED) | The off-chain gateway request failed. | Yes |
| [`GATEWAY_RESPONSE_INVALID`](/docs/reference/errors/GATEWAY_RESPONSE_INVALID) | The off-chain gateway returned an invalid response. | No |
| [`OFFCHAIN_LOOKUP_INVALID`](/docs/reference/errors/OFFCHAIN_LOOKUP_INVALID) | The resolver requested an off-chain lookup from an unexpected sender. | No |

## Catch it [#catch-it]

`Effect.catchTag("GatewayError", …)` or `error instanceof Errors.GatewayError`. See [Handle errors](/docs/sdk/handle-errors).