summaryrefslogtreecommitdiffstats
path: root/application/exceptions/ApiException.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/exceptions/ApiException.php')
-rw-r--r--application/exceptions/ApiException.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/exceptions/ApiException.php b/application/exceptions/ApiException.php
index b288bbaa2..b3b9decff 100644
--- a/application/exceptions/ApiException.php
+++ b/application/exceptions/ApiException.php
@@ -27,4 +27,9 @@ class ApiException extends \Exception {
{
return $this->data;
}
+
+ public function get_http_error_code()
+ {
+ return 500;
+ }
}