File "IOException.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/php-webdriver/webdriver/lib/Exception/Internal/IOException.php
File size: 475 bytes
MIME-type: text/x-php
Charset: utf-8

<?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));
    }
}