src/CacheException.php
public static function fileUnreadable(
        $fileName, 
        \Exception $previous = null
    ): self {
        return new self(
            "cannot read file: {$fileName}",
            self::FILE_UNREADABLE,
            $previous
        );
    }
public static function fileUnreadable(
        $fileName, 
        \Exception $previous = null
    ): self {
        return new self(
            "cannot read file: {$fileName}",
            self::FILE_UNREADABLE,
            $previous
        );
    }
public static function fileUnreadable ( $ fileName , \ Exception $ previous = null ) : self { return new self ( "cannot read file: {$fileName}" , self :: FILE_UNREADABLE , $ previous ) ; }
This method creates an exception if reading of this file failed.

@param string $fileName
The file-name
@param \Exception|null $previous
Previous exception
@return \Gustav\Cache\CacheException
The new exception
This method creates an exception if reading of this file failed .