Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
b8c189a6
Commit
b8c189a6
authored
Nov 07, 2011
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ALREADEXISTS error code.
parent
ea26f869
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
protogeni/xmlrpc/GeniResponse.pm
protogeni/xmlrpc/GeniResponse.pm
+3
-1
No files found.
protogeni/xmlrpc/GeniResponse.pm
View file @
b8c189a6
...
...
@@ -21,7 +21,7 @@ use vars qw(@ISA @EXPORT);
GENIRESPONSE_RPCERROR
GENIRESPONSE_UNAVAILABLE
GENIRESPONSE_SEARCHFAILED
GENIRESPONSE_UNSUPPORTED
GENIRESPONSE_BUSY
GENIRESPONSE_EXPIRED
GENIRESPONSE_INPROGRESS
GENIRESPONSE
GENIRESPONSE_STRING
GENIRESPONSE
_ALREADYEXISTS
GENIRESPONSE_STRING
XMLRPC_PARSE_ERROR
XMLRPC_SERVER_ERROR
XMLRPC_APPLICATION_ERROR
XMLRPC_SYSTEM_ERROR
XMLRPC_TRANSPORT_ERROR
);
...
...
@@ -48,6 +48,7 @@ sub GENIRESPONSE_UNSUPPORTED() {13; }
sub
GENIRESPONSE_BUSY
()
{
14
;
}
sub
GENIRESPONSE_EXPIRED
()
{
15
;
}
sub
GENIRESPONSE_INPROGRESS
()
{
16
;
}
sub
GENIRESPONSE_ALREADYEXISTS
()
{
17
;
}
sub
GENIRESPONSE
()
{
return
$current_response
;
}
my
@GENIRESPONSE_STRINGS
=
...
...
@@ -69,6 +70,7 @@ my @GENIRESPONSE_STRINGS =
"
Busy
",
"
Expired
",
"
In Progress
",
"
Already Exists
",
);
sub
GENIRESPONSE_STRING
($)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment