| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 24 | class RouterException |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var bool $debug Debug mode |
||
| 28 | */ |
||
| 29 | public static $debug = false; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Create Exception Class. |
||
| 33 | * |
||
| 34 | * @param string $message |
||
| 35 | * |
||
| 36 | * @param int $statusCode |
||
| 37 | * |
||
| 38 | * @throws Exception |
||
| 39 | */ |
||
| 40 | public function __construct(string $message, int $statusCode = 500) |
||
| 49 |