DriverException.php 766 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of the Mink package.
  4. * (c) Konstantin Kudryashov <ever.zet@gmail.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. namespace Behat\Mink\Exception;
  10. /**
  11. * Exception thrown by drivers when they fail to perform an action.
  12. *
  13. * @author Konstantin Kudryashov <ever.zet@gmail.com>
  14. */
  15. class DriverException extends Exception
  16. {
  17. /**
  18. * Initializes exception.
  19. *
  20. * @param string $message
  21. * @param int $code
  22. * @param \Exception|null $previous
  23. */
  24. public function __construct($message, $code = 0, \Exception $previous = null)
  25. {
  26. parent::__construct($message, $code, $previous);
  27. }
  28. }