<!-- 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; [constraints](./schema.fielderror.constraints.md)

## FieldError.constraints property

Constraints for the field so parameters can be retrieved. Note that there must be an entry in the constraints object for the rule that failed.

<b>Signature:</b>

```typescript
constraints: Constraints;
```
