mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
13 lines
253 B
PHP
13 lines
253 B
PHP
<?php
|
|
|
|
namespace Exceptions;
|
|
|
|
class InvalidImageUploadException extends AppException{
|
|
public function __construct(?string $message = null){
|
|
if($message === null){
|
|
$message = 'Uploaded image is invalid.';
|
|
}
|
|
|
|
parent::__construct($message);
|
|
}
|
|
}
|