summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-02-18 15:55:52 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-02-18 15:55:52 +0100
commit0ae0fecd06e72557bcd87a8f58e55968081cb2dd (patch)
tree550b80a558de1548e150c3d89a5aa7580c15e9e1 /Bugzilla
parentdfa6603fddcfe9bd1c4c7a0f31c2689a01009105 (diff)
downloadbugzilla-0ae0fecd06e72557bcd87a8f58e55968081cb2dd.tar.gz
bugzilla-0ae0fecd06e72557bcd87a8f58e55968081cb2dd.tar.xz
Bug 1148577 - The API reST documentation should display the error codes/strings that could occur with each API call
r=gerv
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/WebService/Constants.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index 42aa600ee..2387903bb 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -218,6 +218,9 @@ use constant WS_ERROR_CODE => {
multiple_components_update_not_allowed => 1212,
component_need_initialowner => 1213,
+ # BugUserLastVisited errors
+ user_not_involved => 1300,
+
# Errors thrown by the WebService itself. The ones that are negative
# conform to http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php
xmlrpc_invalid_value => -32600,