lychee/php/ZipStream/Exception/FileNotFoundException.php

23 lines
451 B
PHP

<?php
declare(strict_types=1);
namespace ZipStream\Exception;
use ZipStream\Exception;
/**
* This Exception gets invoked if a file wasn't found
*/
class FileNotFoundException extends Exception
{
/**
* Constructor of the Exception
*
* @param String $path - The path which wasn't found
*/
public function __construct(string $path)
{
parent::__construct("Ths file with the path $path wasn't found.");
}
}