Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php declare(strict_types=1); |
||
10 | class SeverityAwareException extends \Exception |
||
11 | { |
||
12 | public const SEVERITY_CRITICAL = 3; |
||
13 | public const SEVERITY_ERROR = 2; |
||
14 | public const SEVERITY_NOTICE = 1; |
||
15 | public const SEVERITY_INFO = 0; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | private $severityLevel; |
||
21 | |||
22 | public function __construct( |
||
30 | } |
||
31 | |||
32 | public function getSeverityLevel(): int |
||
37 |