commit | bc1d3a044b5e3e515adbf9a06274fdaf6f7c1255 | [log] [tgz] |
---|---|---|
author | Soren Hansen <soren@linux2go.dk> | Thu Sep 08 13:33:17 2011 +0200 |
committer | Soren Hansen <soren@linux2go.dk> | Thu Sep 08 13:44:09 2011 +0200 |
tree | b4ce3c4d225907d68f8a457e797c3b125298d12f | |
parent | 4ad76ef7e5193d0b88df24ca4b6f6f9cb58c3e3d [diff] [blame] |
Import all the stacktester stuff as-is (s/stacktester/kong/, though).
diff --git a/kong/exceptions.py b/kong/exceptions.py new file mode 100644 index 0000000..214f43c --- /dev/null +++ b/kong/exceptions.py
@@ -0,0 +1,9 @@ + +class TimeoutException(Exception): + """ Exception on timeout """ + def __repr__(self): + return "Request Timed Out" + + +class ServerNotFound(KeyError): + pass