# $productPage->errors()

> Returns all content validation errors

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

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

## Return type

`array`

## Parent class

`Wagnerwagner\Merx\ProductPage` inherited from `Kirby\Cms\ModelWithContent`
