4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\DependencyInjection\Exception;
15 * This exception is thrown when an environment variable is not found.
17 * @author Nicolas Grekas <p@tchwork.com>
19 class EnvNotFoundException extends InvalidArgumentException
21 public function __construct($name)
23 parent::__construct(sprintf('Environment variable not found: "%s".', $name));