mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Minor refactor
This commit is contained in:
parent
388dbab1f1
commit
831c1531d8
4 changed files with 66 additions and 110 deletions
7
lib/Exceptions/EbookAuthorRequiredException.php
Normal file
7
lib/Exceptions/EbookAuthorRequiredException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class EbookAuthorRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Author required.';
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class EbookIndexableAuthorsRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Ebook IndexableAuthors required.';
|
||||
}
|
|
@ -3,5 +3,5 @@ namespace Exceptions;
|
|||
|
||||
class EbookTitleRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Ebook Title required.';
|
||||
protected $message = 'Title required.';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue