for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Yii\Cycle\Exception;
use Exception;
class ConfigException extends Exception
{
/**
* @param string[] $section Config path
*/
public function __construct(array $section, string $message, int $code = 0, ?\Throwable $previous = null)
$path = \implode('->', $section);
parent::__construct(\sprintf('Config error (%s): %s', $path, $message), $code, $previous);
}