Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class InvalidConfigFilePathException extends RuntimeException implements SevereExceptionInterface |
||
17 | { |
||
18 | use HasSeverity; |
||
19 | use SetsLocation; |
||
20 | |||
21 | protected int $severity = E_ERROR; |
||
22 | |||
23 | /** |
||
24 | * Exception thrown when a Config file is outside the search directories. |
||
25 | * |
||
26 | * @param string $filename The path to the Config file. |
||
27 | * @param int $code The Exception code. |
||
28 | * @param \Throwable $previous The previous throwable used for the exception chaining. |
||
29 | */ |
||
30 | public function __construct(string $filename, int $code = 0, Throwable $previous = null) |
||
37 |