diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-25 19:32:05 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-25 19:32:05 +0800 |
commit | 596da92743ceade7eba90d1397847f464a2efee8 (patch) | |
tree | 651809ebcb81ffeb77770852c1beffeda324acd9 /server/piztor/exc.py | |
parent | f4d0989ae888bc2f83f0bc09cc826f7c79b1b6b5 (diff) |
place the lastest server files in the correct location
Diffstat (limited to 'server/piztor/exc.py')
-rw-r--r-- | server/piztor/exc.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/server/piztor/exc.py b/server/piztor/exc.py new file mode 100644 index 0000000..2c53dbf --- /dev/null +++ b/server/piztor/exc.py @@ -0,0 +1,17 @@ +class PiztorError(Exception): + pass + +class DBCurruptedError(PiztorError): + pass + +class ConnectionError(PiztorError): + pass + +class ReqReadError(ConnectionError): + pass + +class BadReqError(ConnectionError): + pass + +class BadTokenError(ConnectionError): + pass |