mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
11 lines
433 B
PHP
11 lines
433 B
PHP
<?
|
||
namespace Exceptions;
|
||
|
||
class ArtworkImageDimensionsTooSmallException extends AppException{
|
||
protected $message;
|
||
|
||
// This has to be initialized in a constructor because we use the number_format() function.
|
||
public function __construct(){
|
||
$this->message = 'Image dimensions are too small. The minimum image size is ' . number_format(ARTWORK_IMAGE_MINIMUM_WIDTH) . ' × ' . number_format(ARTWORK_IMAGE_MINIMUM_HEIGHT) . '.';
|
||
}
|
||
}
|