Files
CRM/app/Exceptions/FileNotFoundException.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

31 lines
581 B
PHP

<?php
namespace App\Exceptions;
use Illuminate\Contracts\Filesystem\FileNotFoundException as FileNotFoundExceptionBase;
class FileNotFoundException extends FileNotFoundExceptionBase
{
/**
* @var string
*/
public $fileName;
/**
* Create a new instance.
*
* @param string $fileName
* @return void
*/
public function __construct($fileName)
{
$this->fileName = $fileName;
parent::__construct();
}
public function __toString(): string
{
return 'File not found: '.$this->fileName;
}
}