Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UnsupportedDriverActionException.php

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\Exception

Code

public function __construct(string $template, DriverInterface $driver, ?\Throwable $previous = null) {
    $message = sprintf($template, get_class($driver));
    parent::__construct($message, 0, $previous);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal