Mercurial > libervia-pubsub
changeset 199:569e4dac9bc3
Adjust spacing to match Twisted's.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Tue, 10 Jun 2008 11:38:35 +0000 |
parents | e404775b12df |
children | 2189c663ba44 |
files | idavoll/error.py |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/error.py Tue Jun 10 11:31:49 2008 +0000 +++ b/idavoll/error.py Tue Jun 10 11:38:35 2008 +0000 @@ -7,40 +7,52 @@ def __str__(self): return self.msg + class NodeNotFound(Error): pass + class NodeExists(Error): pass + class NotSubscribed(Error): """ Entity is not subscribed to this node. """ + class SubscriptionExists(Error): pass + class Forbidden(Error): pass + class ItemForbidden(Error): pass + class ItemRequired(Error): pass + class NoInstantNodes(Error): pass + class InvalidConfigurationOption(Error): msg = 'Invalid configuration option' + class InvalidConfigurationValue(Error): msg = 'Bad configuration value' + class NodeNotPersistent(Error): pass + class NoRootNode(Error): pass