mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 22:30:30 -04:00
Style tweaks to artworks DB
This commit is contained in:
parent
6e63bd2bdb
commit
2b5f4f55a2
5 changed files with 54 additions and 63 deletions
|
@ -3,5 +3,11 @@
|
|||
namespace Exceptions;
|
||||
|
||||
class InvalidImageUploadException extends AppException{
|
||||
protected $message = 'Uploaded image is invalid.';
|
||||
public function __construct(?string $message = null){
|
||||
if($message === null){
|
||||
$message = 'Uploaded image is invalid.';
|
||||
}
|
||||
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue