Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ErrorRoute extends Exception |
||
15 | { |
||
16 | /** |
||
17 | * ErrorRoute constructor. |
||
18 | * |
||
19 | * @param string $message |
||
20 | * @param integer $code |
||
21 | * @param Throwable|null $previous |
||
22 | */ |
||
23 | public function __construct(string $message, int $code = 500, Throwable $previous = null) |
||
24 | { |
||
25 | parent::__construct($message, $code, $previous); |
||
26 | } |
||
27 | |||
28 | public function __toString() |
||
31 | } |
||
32 | } |
||
33 |