Moved ImageResizeException to the core space so that the core space image resize code can use it
This commit is contained in:
@ -41,4 +41,16 @@ class InvalidInput extends SCoreException
|
||||
*/
|
||||
class InsufficientMemoryException extends SCoreException
|
||||
{
|
||||
}
|
||||
/*
|
||||
* This is used by the image resizing code when there is an error while resizing
|
||||
*/
|
||||
class ImageResizeException extends SCoreException
|
||||
{
|
||||
public $error;
|
||||
|
||||
public function __construct(string $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user