Total Complexity | 0 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class TargetCallException extends \RuntimeException |
||
13 | { |
||
14 | /** |
||
15 | * Pre-defined controller error codes. |
||
16 | */ |
||
17 | public const NOT_FOUND = 0; |
||
18 | public const BAD_ACTION = 1; |
||
19 | public const BAD_ARGUMENT = 2; |
||
20 | public const FORBIDDEN = 3; |
||
21 | public const ERROR = 4; |
||
22 | public const UNAUTHORIZED = 8; |
||
23 | public const INVALID_CONTROLLER = 16; |
||
24 | } |
||
27 |