public function UnsupportedDriverActionException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Exception/UnsupportedDriverActionException.php \Behat\Mink\Exception\UnsupportedDriverActionException::__construct()
Initializes exception.
Parameters
string $template what is unsupported?:
DriverInterface $driver driver instance:
\Exception $previous previous exception:
Overrides DriverException::__construct
File
- vendor/
behat/ mink/ src/ Exception/ UnsupportedDriverActionException.php, line 29
Class
- UnsupportedDriverActionException
- Exception thrown by drivers when they don't support the requested action.
Namespace
Behat\Mink\ExceptionCode
public function __construct($template, DriverInterface $driver, \Exception $previous = null) {
$message = sprintf($template, get_class($driver));
parent::__construct($message, 0, $previous);
}