refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
30
app/Exceptions/FileNotFoundException.php
Normal file
30
app/Exceptions/FileNotFoundException.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user