| 1 | <?php |
||
| 18 | class ContentFieldValidationException extends BadRequestException |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Contains an array of field ValidationError objects indexed with FieldDefinition id and language code. |
||
| 22 | * @see eZ\Publish\Core\Base\Exceptions\ContentFieldValidationException |
||
| 23 | * |
||
| 24 | * @var \eZ\Publish\Core\FieldType\ValidationError[] |
||
| 25 | */ |
||
| 26 | protected $errors; |
||
| 27 | |||
| 28 | public function __construct(array $errors, $message, $code = 0, Exception $previous = null) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Returns an array of field validation error messages. |
||
| 37 | * |
||
| 38 | * @return \eZ\Publish\Core\FieldType\ValidationError[] |
||
| 39 | */ |
||
| 40 | public function getFieldErrors() |
||
| 44 | } |
||
| 45 |