Add admin tool to handle duplicate artist names (#480)

This commit is contained in:
Mike Colagrosso 2025-03-06 13:28:26 -07:00 committed by GitHub
parent 576fcea0b1
commit a91509726c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 261 additions and 2 deletions

View 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.).';
}

View file

@ -0,0 +1,7 @@
<?
namespace Exceptions;
class ArtistHasArtworkException extends AppException{
/** @var string $message */
protected $message = 'Artist has associated artwork and cannot be deleted.';
}