# TransactionError

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

What TransactionError 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/transaction-error

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

A submitted transaction failed, conflicted with another, or did not confirm in time.

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

## Fields [#fields]

| Field | Type | Description |
| --- | --- | --- |
| `hash` | `Hex` |  |
| `bundleId` | `string` | EIP-5792 bundle id, when the calls were sent as one batch; check it with `getCallsStatus`. |

## Codes [#codes]

| Code | Meaning | Retryable |
| --- | --- | --- |
| [`TRANSACTION_REVERTED`](/docs/reference/errors/TRANSACTION_REVERTED) | The transaction reverted on-chain. | No |
| [`RECEIPT_TIMEOUT`](/docs/reference/errors/RECEIPT_TIMEOUT) | Timed out waiting for the transaction receipt. | No |
| [`NONCE_CONFLICT`](/docs/reference/errors/NONCE_CONFLICT) | The transaction nonce conflicts with another transaction. | Yes |

## Catch it [#catch-it]

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