class UnsupportedDriverActionException
Exception thrown by drivers when they don't support the requested action.
@author Konstantin Kudryashov <ever.zet@gmail.com>
Hierarchy
- class \Behat\Mink\Exception\Exception extends \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\Exception extends \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\DriverException extends \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\UnsupportedDriverActionException extends \Behat\Mink\Exception\DriverException
- class \Behat\Mink\Exception\DriverException extends \Behat\Mink\Exception\Exception
- class \Behat\Mink\Exception\Exception extends \Behat\Mink\Exception\Exception
Expanded class hierarchy of UnsupportedDriverActionException
3 files declare their use of UnsupportedDriverActionException
- BrowserKitDriver.php in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php - CoreDriver.php in vendor/
behat/ mink/ src/ Driver/ CoreDriver.php - DriverInterface.php in vendor/
behat/ mink/ src/ Driver/ DriverInterface.php
File
-
vendor/
behat/ mink/ src/ Exception/ UnsupportedDriverActionException.php, line 20
Namespace
Behat\Mink\ExceptionView source
class UnsupportedDriverActionException extends DriverException {
/**
* Initializes exception.
*
* @param string $template what is unsupported?
* @param DriverInterface $driver driver instance
* @param \Throwable|null $previous previous exception
*/
public function __construct(string $template, DriverInterface $driver, ?\Throwable $previous = null) {
$message = sprintf($template, get_class($driver));
parent::__construct($message, 0, $previous);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
UnsupportedDriverActionException::__construct | public | function | Initializes exception. | Overrides DriverException::__construct |