mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Additional Ebook validation
This commit is contained in:
parent
3ef1af1237
commit
032032b920
22 changed files with 262 additions and 2 deletions
12
lib/Exceptions/InvalidEbookRepoFilesystemPathException.php
Normal file
12
lib/Exceptions/InvalidEbookRepoFilesystemPathException.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
use Safe\DateTimeImmutable;
|
||||
|
||||
class InvalidEbookRepoFilesystemPathException extends AppException{
|
||||
protected $message = 'Invalid RepoFilesystemPath.';
|
||||
|
||||
public function __construct(?string $path){
|
||||
$this->message = 'Invalid RepoFilesystemPath. Not readable: ' . $path;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue