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

Breadcrumb

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

class DriverException

Exception thrown by drivers when they fail to perform an 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

Expanded class hierarchy of DriverException

5 files declare their use of DriverException
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
NodeElement.php in vendor/behat/mink/src/Element/NodeElement.php
Selenium2Driver.php in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php

File

vendor/behat/mink/src/Exception/DriverException.php, line 18

Namespace

Behat\Mink\Exception
View source
class DriverException extends Exception {
    
    /**
     * Initializes exception.
     *
     * @param string          $message
     * @param int             $code
     * @param \Throwable|null $previous
     */
    public function __construct(string $message, int $code = 0, ?\Throwable $previous = null) {
        parent::__construct($message, $code, $previous);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
DriverException::__construct public function Initializes exception. 1

API Navigation

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