| 1 | <?php |
||
| 16 | class ContentFieldValidationException extends BadRequestException |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Contains an array of field ValidationError objects indexed with FieldDefinition id and language code. |
||
| 20 | * @see eZ\Publish\Core\Base\Exceptions\ContentFieldValidationException |
||
| 21 | * |
||
| 22 | * @var \eZ\Publish\Core\FieldType\ValidationError[] |
||
| 23 | */ |
||
| 24 | protected $errors; |
||
| 25 | |||
| 26 | public function __construct(APIContentFieldValidationException $e) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns an array of field validation error messages. |
||
| 35 | * |
||
| 36 | * @return \eZ\Publish\Core\FieldType\ValidationError[] |
||
| 37 | */ |
||
| 38 | public function getFieldErrors() |
||
| 42 | } |
||
| 43 |