# wpide/3.5.9/vendor/league/flysystem/src/UnreadableFileException.php

WPIDE – File Manager &amp; Code Editor, version 3.5.9. 19 lines.

- Page: https://pluginprobe.com/plugins/wpide/3.5.9/code/vendor/league/flysystem/src/UnreadableFileException.php
- Raw: https://pluginprobe.com/plugins/wpide/3.5.9/raw/vendor/league/flysystem/src/UnreadableFileException.php
- Modified: 2022-07-30T20:33:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpide/3.5.9/code/vendor/league/flysystem/src/UnreadableFileException.php#L10-L20`.

```php
<?php

namespace League\Flysystem;

use SplFileInfo;

class UnreadableFileException extends Exception
{
    public static function forFileInfo(SplFileInfo $fileInfo)
    {
        return new static(
            sprintf(
                'Unreadable file encountered: %s',
                $fileInfo->getRealPath()
            )
        );
    }
}

```
