function UnsupportedDriverActionException::__construct
Initializes exception.
Parameters
string $template what is unsupported?:
DriverInterface $driver driver instance:
\Throwable|null $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(string $template, DriverInterface $driver, ?\Throwable $previous = null) {
$message = sprintf($template, get_class($driver));
parent::__construct($message, 0, $previous);
}