# DeepErrorEntry

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

Entry that pairs the `path` to a field with its error messages. Returned by the `getDeepErrorEntries` and `getDeepErrorEntry` methods. Form-level errors are included with an empty path.

## Generics

- `TValue` `extends unknown = unknown`

## Definition

- `DeepErrorEntry`
  - `path` `unknown extends TValue ? Path : readonly [] | FieldPath<TValue>`
  - `errors` `[string, ...string[]]`

## Related

### Methods

[`getDeepErrorEntries`](/methods/api/getDeepErrorEntries.md), [`getDeepErrorEntry`](/methods/api/getDeepErrorEntry.md)
