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