> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: getElementError()

> **getElementError**(`message`: `string` | `null`, `container`: `HTMLElement`): `Error`

## Parameters

| Parameter   | Type               |
| ----------- | ------------------ |
| `message`   | `string` \| `null` |
| `container` | `HTMLElement`      |

## Returns

`Error`
