# InternalError

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

What InternalError means, which codes it carries and how to catch it in ensforge. Something failed that ensforge does not recognise.

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

<ApiMeta kind="Error class" summary="1 codes · @ensforge/sdk" source="packages/sdk/src/errors/classes/InternalError.ts#L10" />

Something failed that ensforge does not recognise. The original error is in `cause`.

Any action can fail with `InternalError`: it is part of `Errors.CommonError`.

## Codes [#codes]

| Code | Meaning | Retryable |
| --- | --- | --- |
| [`UNEXPECTED`](/docs/reference/errors/UNEXPECTED) | An unexpected error occurred. | No |

## Catch it [#catch-it]

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