# SetFieldErrorsConfig

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

Configuration interface for setting field-specific errors. Used by the `setErrors` method when a specific field path is provided.

## Generics

- `TSchema` `extends FormSchema`
- `TFieldPath` `extends RequiredPath`

## Definition

- `SetFieldErrorsConfig`
  - `path` `ValidPath<v.InferInput<TSchema>, TFieldPath>`
  - `errors` `[string, ...string[]] | null`

## Related

### Methods

[`setErrors`](/methods/api/setErrors.md)
