Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class SchemaValidationException extends BridgeException |
||
8 | { |
||
9 | private $errors = []; |
||
10 | |||
11 | public function __construct( |
||
12 | array $errors, |
||
13 | string $message = "", |
||
14 | int $code = 0, |
||
15 | \Throwable $previous = null |
||
16 | ) { |
||
17 | $this->errors = $errors; |
||
18 | parent::__construct($message, $code, $previous); |
||
19 | } |
||
20 | |||
21 | public function getErrors(): array |
||
24 | } |
||
25 | } |
||
26 |