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

## FieldError.rule property

Rule that failed

<b>Signature:</b>

```typescript
rule: ErrorCode;
```
