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

# Type Alias: GetErrorFunction\<Arguments _extends_ `any`\[] = \[`string`]>

> **GetErrorFunction**\<`Arguments` _extends_ `any`\[] = \[`string`]> = (`c`: `Element` | `null`, ...`args`: `Arguments`) => `string`

## Type Parameters

| Type Parameter                 | Default type |
| ------------------------------ | ------------ |
| `Arguments` _extends_ `any`\[] | \[`string`]  |

## Parameters

| Parameter | Type                |
| --------- | ------------------- |
| `c`       | `Element` \| `null` |
| ...`args` | `Arguments`         |

## Returns

`string`
