mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Rename exception for consistency
This commit is contained in:
parent
94d62fdcdf
commit
c36d1ac3d3
4 changed files with 10 additions and 10 deletions
10
lib/Exceptions/EbookExistsException.php
Normal file
10
lib/Exceptions/EbookExistsException.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class EbookExistsException 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