New exception type.
This commit is contained in:
parent
9acf6c7f19
commit
5b5fd955b7
@ -9,3 +9,11 @@ class SCoreException extends Exception {}
|
||||
*/
|
||||
class PermissionDeniedException extends SCoreException {}
|
||||
|
||||
/**
|
||||
* Class ImageDoesNotExist
|
||||
*
|
||||
* This exception is used when an Image cannot be found by ID.
|
||||
*
|
||||
* Example: Image::by_id(-1) returns null
|
||||
*/
|
||||
class ImageDoesNotExist extends SCoreException {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user