<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [FieldError](./schema.fielderror.md) &gt; [validate](./schema.fielderror.validate.md)

## FieldError.validate property

Validation function that produced the error, useful for re-applying at runtime.

<b>Signature:</b>

```typescript
validate?: ValidationFunction;
```
