ConfigException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of Cecil.
5
 *
6
 * (c) Arnaud Ligny <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Cecil\Exception;
15
16
/**
17
 * ConfigException class.
18
 *
19
 * This class extends the built-in RuntimeException and implements the ExceptionInterface.
20
 * It is used to handle configuration-related exceptions in the Cecil application.
21
 */
22
class ConfigException extends \RuntimeException implements ExceptionInterface
23
{
24
    public function __construct(string $message, int $code = 0, ?\Throwable $previous = null)
25
    {
26
        parent::__construct("Configuration: $message", $code, $previous);
27
    }
28
}
29