mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Add placeholders for ebooks
This commit is contained in:
parent
cf5f488cae
commit
1ab95df084
52 changed files with 1192 additions and 237 deletions
10
lib/Exceptions/DuplicateEbookException.php
Normal file
10
lib/Exceptions/DuplicateEbookException.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class DuplicateEbookException extends AppException{
|
||||
public function __construct(string $identifier){
|
||||
$this->message = 'Ebook already exists with identifier: ' . $identifier;
|
||||
|
||||
parent::__construct($this->message);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue