Files
-S.I.S-QuaySo_v2/vendor/php-webdriver/webdriver/lib/Exception/Internal/IOException.php
T

17 lines
475 B
PHP

<?php declare(strict_types=1);
namespace Facebook\WebDriver\Exception\Internal;
use Facebook\WebDriver\Exception\PhpWebDriverExceptionInterface;
/**
* Exception class thrown when a filesystem related operation failure happens.
*/
class IOException extends \LogicException implements PhpWebDriverExceptionInterface
{
public static function forFileError(string $message, string $path): self
{
return new self(sprintf($message . ' ("%s")', $path));
}
}