summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rwxr-xr-xBugzilla/WebService/Constants.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index f9728e246..ba26f3bfa 100755
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -58,6 +58,12 @@ use constant WS_ERROR_CODE => {
account_disabled => 301,
auth_invalid_email => 302,
extern_id_conflict => -303,
+
+ # User errors are 500-600.
+ account_exists => 500,
+ illegal_email_address => 501,
+ password_too_short => 502,
+ password_too_long => 503,
};
# These are the fallback defaults for errors not in ERROR_CODE.