summaryrefslogtreecommitdiffstats
path: root/application/exceptions/UserInputException.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/exceptions/UserInputException.php')
-rw-r--r--application/exceptions/UserInputException.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/exceptions/UserInputException.php b/application/exceptions/UserInputException.php
index 150d0204b..d4c327315 100644
--- a/application/exceptions/UserInputException.php
+++ b/application/exceptions/UserInputException.php
@@ -7,4 +7,8 @@
namespace exceptions;
class UserInputException extends PublicApiException {
+ public function get_http_error_code()
+ {
+ return 400;
+ }
}