summaryrefslogblamecommitdiffstats
path: root/vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php
blob: 1fbfdc543bc435f00e835ecb3983ea9aeb2098d5 (plain) (tree)






















                                                                            
<?php

declare(strict_types=1);

namespace ZipStream\Exception;

use ZipStream\Exception;

/**
 * This Exception gets invoked if a file wasn't found
 */
class FileNotReadableException extends Exception
{
    /**
     * Constructor of the Exception
     *
     * @param String $path - The path which wasn't found
     */
    public function __construct(string $path)
    {
        parent::__construct("The file with the path $path isn't readable.");
    }
}