# ErrorMessage

> This document is the Markdown version of [valibot.dev/api/ErrorMessage/](https://valibot.dev/api/ErrorMessage/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Error message type.

## Generics

- `TIssue` `extends BaseIssue<unknown>`

## Definition

- `ErrorMessage` `((issue: TIssue) => string) | string`
