<?php

namespace TotalSurveyVendors\League\Flysystem;
! defined( 'ABSPATH' ) && exit();


use SplFileInfo;

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