# HcaError

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

What HcaError 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/hca-error

<ApiMeta kind="Error class" summary="11 codes · @ensforge/hca" source="packages/hca/src/errors/classes/HcaError.ts#L61" />

An HCA (Hosted Contract Account) operation failed: the account, its session, an executor
(bundler, Rhinestone) or the DAO's upgrade set.

## Fields [#fields]

| Field | Type | Description |
| --- | --- | --- |
| `executor` | `string` | Executor that failed, e.g. `pimlico`. |

## Codes [#codes]

| Code | Meaning | Retryable |
| --- | --- | --- |
| [`HCA_UNAVAILABLE`](/docs/reference/errors/HCA_UNAVAILABLE) | This chain has no ENS HCA deployment. | No |
| [`HCA_NOT_VERIFIED`](/docs/reference/errors/HCA_NOT_VERIFIED) | The account is not a verified ENS HCA of this owner. | No |
| [`HCA_EXECUTOR_UNSUPPORTED`](/docs/reference/errors/HCA_EXECUTOR_UNSUPPORTED) | No configured executor can run this HCA operation. | No |
| [`HCA_ACTION_NOT_ALLOWED`](/docs/reference/errors/HCA_ACTION_NOT_ALLOWED) | The HCA session policy does not allow this call. | No |
| [`HCA_SESSION_INVALID`](/docs/reference/errors/HCA_SESSION_INVALID) | The HCA session is expired, revoked or for another resolver. | No |
| [`HCA_BUNDLER_REJECTED`](/docs/reference/errors/HCA_BUNDLER_REJECTED) | The bundler rejected the HCA UserOperation. | Yes |
| [`HCA_PAYMASTER_REJECTED`](/docs/reference/errors/HCA_PAYMASTER_REJECTED) | The paymaster refused to sponsor the HCA UserOperation. | No |
| [`HCA_EXECUTION_FAILED`](/docs/reference/errors/HCA_EXECUTION_FAILED) | The HCA execution failed. | No |
| [`HCA_EXECUTION_TIMEOUT`](/docs/reference/errors/HCA_EXECUTION_TIMEOUT) | The HCA execution was not included in time. | No |
| [`HCA_UPGRADE_NOT_ALLOWED`](/docs/reference/errors/HCA_UPGRADE_NOT_ALLOWED) | The upgrade set or the new implementation's `canUpgradeFrom` check does not allow this HCA upgrade. | No |
| [`HCA_SDK_UNSUPPORTED`](/docs/reference/errors/HCA_SDK_UNSUPPORTED) | The Rhinestone SDK does not support the standalone ENS HCA. | No |

## Catch it [#catch-it]

`error instanceof HcaError`. See [Handle errors](/docs/sdk/handle-errors).