diff options
Diffstat (limited to 'application/exceptions/PublicApiException.php')
-rw-r--r-- | application/exceptions/PublicApiException.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/application/exceptions/PublicApiException.php b/application/exceptions/PublicApiException.php new file mode 100644 index 000000000..d22309478 --- /dev/null +++ b/application/exceptions/PublicApiException.php @@ -0,0 +1,14 @@ +<?php +/* + * Licensed under AGPLv3 + * (see COPYING for full license text) + * + */ +namespace exceptions; + +class PublicApiException extends ApiException { + public function __toString() + { + return $this->getMessage(); + } +} |