Commit 2a4d8ae7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add RESPONSE_TIMEDOUT definition; methods that allow for a timeout

will return this error code instead of RESPONSE_ERROR.
parent 731b4885
......@@ -43,6 +43,7 @@ RESPONSE_BADVERSION = 4
RESPONSE_SERVERERROR = 5
RESPONSE_TOOBIG = 6
RESPONSE_REFUSED = 7 # Emulab is down, try again later.
RESPONSE_TIMEDOUT = 8
class EmulabResponse:
def __init__(self, code, value=0, output=""):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment