summaryrefslogtreecommitdiff
path: root/server/piztor/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/piztor/exc.py')
-rw-r--r--server/piztor/exc.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/piztor/exc.py b/server/piztor/exc.py
new file mode 100644
index 0000000..5daf420
--- /dev/null
+++ b/server/piztor/exc.py
@@ -0,0 +1,14 @@
+class PiztorError(Exception):
+ pass
+
+class ConnectionError(PiztorError):
+ pass
+
+class ReqReadError(ConnectionError):
+ pass
+
+class BadReqError(ConnectionError):
+ pass
+
+class InvalidTokenError(ConnectionError):
+ pass