# $taxRulesField->errors()

> Runs all validations and returns an array of error messages

- Source: `src/Form/Mixin/Validation.php#L31` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Form/Mixin/Validation.php#L31>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$taxRulesField->errors(): array
```

## Return type

`array`

## Parent class

`Wagnerwagner\Merx\TaxRulesField` inherited from `Kirby\Form\Field\InputField`
