summaryrefslogtreecommitdiff
path: root/misc/server/piztor/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/server/piztor/exc.py')
-rw-r--r--misc/server/piztor/exc.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/server/piztor/exc.py b/misc/server/piztor/exc.py
new file mode 100644
index 0000000..2c53dbf
--- /dev/null
+++ b/misc/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