mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-13 13:45:54 +00:00
14 lines
295 B
PHP
14 lines
295 B
PHP
<?php
|
|
|
|
namespace App\Bunny\Filesystem\Exceptions;
|
|
|
|
use App\Bunny\Filesystem\File;
|
|
|
|
class FileNotFoundException extends FilesystemException
|
|
{
|
|
public static function fromFile(File $file): self
|
|
{
|
|
return new self(sprintf('The file %s was not found.', $file->getFilename()));
|
|
}
|
|
}
|