4 * This file is part of the Mink package.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Mink\Exception;
14 * Exception thrown by drivers when they fail to perform an action.
16 * @author Konstantin Kudryashov <ever.zet@gmail.com>
18 class DriverException extends Exception
21 * Initializes exception.
23 * @param string $message
25 * @param \Exception|null $previous
27 public function __construct($message, $code = 0, \Exception $previous = null)
29 parent::__construct($message, $code, $previous);