summaryrefslogtreecommitdiff
path: root/errors
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-08-24 19:09:41 +0200
committerAleš Smodiš <aless@guru.si>2015-08-24 19:09:41 +0200
commita4f639242f9f6221a486e0e91adeb75ba6096f45 (patch)
treea6d1c1207ccd9829031d527f322ad84d89a2a550 /errors
parent5b4f1e25980ee18a323eba1415ed453b3a910ca3 (diff)
Split the development into daemon and wsgi_server.
Implemented basic infrastructure for daemon (Prolog), and partial support for services in wsgi_server.
Diffstat (limited to 'errors')
-rw-r--r--errors/__init__.py1
-rw-r--r--errors/session.py7
2 files changed, 8 insertions, 0 deletions
diff --git a/errors/__init__.py b/errors/__init__.py
new file mode 100644
index 0000000..9bad579
--- /dev/null
+++ b/errors/__init__.py
@@ -0,0 +1 @@
+# coding=utf-8
diff --git a/errors/session.py b/errors/session.py
new file mode 100644
index 0000000..d173fbf
--- /dev/null
+++ b/errors/session.py
@@ -0,0 +1,7 @@
+# coding=utf-8
+
+class NoSuchSession(Exception):
+ pass
+
+class AuthenticationFailed(Exception):
+ pass