Class Yiisoft\Yii\Cycle\Exception\ConfigException
| Inheritance | Yiisoft\Yii\Cycle\Exception\ConfigException » Exception |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Yii\Cycle\Exception\ConfigException |
Method Details
| public mixed __construct ( string[] $section, string $message, integer $code = 0, Throwable|null $previous = null ) | ||
| $section | string[] |
Config path |
| $message | string | |
| $code | integer | |
| $previous | Throwable|null | |
public function __construct(array $section, string $message, int $code = 0, ?\Throwable $previous = null)
{
$path = \implode(' -> ', $section);
parent::__construct(\sprintf('(%s): %s', $path, $message), $code, $previous);
}
Signup or Login in order to comment.