mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Add admin tool to handle duplicate artist names (#480)
This commit is contained in:
parent
576fcea0b1
commit
a91509726c
9 changed files with 261 additions and 2 deletions
7
lib/Exceptions/ArtistAlternateNameExistsException.php
Normal file
7
lib/Exceptions/ArtistAlternateNameExistsException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class ArtistAlternateNameExistsException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Artist already has that alternate name (A.K.A.).';
|
||||
}
|
7
lib/Exceptions/ArtistHasArtworkException.php
Normal file
7
lib/Exceptions/ArtistHasArtworkException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class ArtistHasArtworkException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'Artist has associated artwork and cannot be deleted.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue