web/lib/Exceptions/DuplicateEbookException.php
2024-12-13 11:46:36 -06:00

10 lines
248 B
PHP

<?
namespace Exceptions;
class DuplicateEbookException extends AppException{
public function __construct(string $identifier){
$this->message = 'Ebook already exists with identifier: ' . $identifier;
parent::__construct($this->message);
}
}