diff idavoll/error.py @ 204:b4bf0a5ce50d

Implement storage facilities for the HTTP gateway. Author: ralphm. Fixes #12. One of the storage facilities is PostgreSQL based, providing persistence.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 16 Jul 2008 06:38:32 +0000
parents 569e4dac9bc3
children 274a45d2a5ab
line wrap: on
line diff
--- a/idavoll/error.py	Mon Jul 14 09:16:16 2008 +0000
+++ b/idavoll/error.py	Wed Jul 16 06:38:32 2008 +0000
@@ -16,14 +16,19 @@
     pass
 
 
+
 class NotSubscribed(Error):
     """
     Entity is not subscribed to this node.
     """
 
 
+
 class SubscriptionExists(Error):
-    pass
+    """
+    There already exists a subscription to this node.
+    """
+
 
 
 class Forbidden(Error):
@@ -56,3 +61,10 @@
 
 class NoRootNode(Error):
     pass
+
+
+
+class NoCallbacks(Error):
+    """
+    There are no callbacks for this node.
+    """