# UnsupportedError

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

What UnsupportedError means, which codes it carries and how to catch it in ensforge. Lists its fields and every code. Includes how to catch it.

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

<ApiMeta kind="Error class" summary="6 codes · @ensforge/sdk" source="packages/sdk/src/errors/classes/UnsupportedError.ts#L37" />

The operation is not available for this name, resolver, deployment or wallet.

Any write can fail with `UnsupportedError`: it is part of `Errors.WriteError`.

## Fields [#fields]

| Field | Type | Description |
| --- | --- | --- |
| `feature` | `string` |  |
| `protocol` | `"v1" \| "v2"` |  |

## Codes [#codes]

| Code | Meaning | Retryable |
| --- | --- | --- |
| [`UNSUPPORTED_PROTOCOL`](/docs/reference/errors/UNSUPPORTED_PROTOCOL) | This operation is not supported for this names. | No |
| [`UNSUPPORTED_ON_DEPLOYMENT`](/docs/reference/errors/UNSUPPORTED_ON_DEPLOYMENT) | This feature is not available on this deployment. | No |
| [`RESOLVER_PROFILE_UNSUPPORTED`](/docs/reference/errors/RESOLVER_PROFILE_UNSUPPORTED) | The resolver does not support this record type. | No |
| [`PAYMENT_TOKEN_UNSUPPORTED`](/docs/reference/errors/PAYMENT_TOKEN_UNSUPPORTED) | The registrar does not accept this payment token. | No |
| [`UPGRADE_NOT_APPROVED`](/docs/reference/errors/UPGRADE_NOT_APPROVED) | The upgrade target is not an approved implementation. | No |
| [`WALLET_BATCH_UNSUPPORTED`](/docs/reference/errors/WALLET_BATCH_UNSUPPORTED) | The wallet cannot send calls as one batch. | No |

## Catch it [#catch-it]

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