This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/core/exceptions.class.php

20 lines
411 B
PHP
Raw Normal View History

<?php
2009-07-19 07:38:13 +00:00
/**
* A base exception to be caught by the upper levels
*/
class SCoreException extends Exception {}
2009-07-19 07:38:13 +00:00
/**
* A fairly common, generic exception
*/
class PermissionDeniedException extends SCoreException {}
2014-04-25 20:07:30 +00:00
/**
* 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 {}