Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ValidationException extends Exception implements ValidationExceptionInterface |
||
11 | { |
||
12 | /** @var Error[] */ |
||
13 | private array $errors; |
||
14 | |||
15 | public function __construct(array $errors, string $message = "", int $code = 422, ?Throwable $previous = null) |
||
19 | } |
||
20 | |||
21 | /** @inheritDoc */ |
||
22 | public function getErrors(): array |
||
27 |