Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Behat\Mink\Exception; Chris@0: Chris@0: /** Chris@0: * Exception thrown by drivers when they fail to perform an action. Chris@0: * Chris@0: * @author Konstantin Kudryashov Chris@0: */ Chris@0: class DriverException extends Exception Chris@0: { Chris@0: /** Chris@0: * Initializes exception. Chris@0: * Chris@0: * @param string $message Chris@0: * @param int $code Chris@0: * @param \Exception|null $previous Chris@0: */ Chris@0: public function __construct($message, $code = 0, \Exception $previous = null) Chris@0: { Chris@0: parent::__construct($message, $code, $previous); Chris@0: } Chris@0: }