diff options
author | lpsolit%gmail.com <> | 2007-10-12 06:07:22 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-12 06:07:22 +0200 |
commit | 52abf10f5c2d745491a168d1a5f1030368628b3f (patch) | |
tree | bb549302c2c56e329302d61022080a71fe915bd7 /Bugzilla/WebService/Constants.pm | |
parent | 52fecc3e11f934046e721bd18cd05f746bd8166f (diff) | |
download | bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.gz bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.xz |
Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rwxr-xr-x | Bugzilla/WebService/Constants.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 139ec1b7b..2dfb0b112 100755 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -50,6 +50,9 @@ use base qw(Exporter); # comment that it was retired. Also, if an error changes its name, you'll # have to fix it here. use constant WS_ERROR_CODE => { + # Generic Bugzilla::Object errors are 50-99. + object_name_not_specified => 50, + object_does_not_exist => 51, # Bug errors usually occupy the 100-200 range. improper_bug_id_field_value => 100, bug_id_does_not_exist => 101, @@ -65,7 +68,6 @@ use constant WS_ERROR_CODE => { # Component errors require_component => 105, component_name_too_long => 105, - component_not_valid => 105, # Invalid Product no_products => 106, entry_access_denied => 106, |