Mercurial > libervia-pubsub
comparison 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 |
comparison
equal
deleted
inserted
replaced
203:2c46e6664680 | 204:b4bf0a5ce50d |
---|---|
14 | 14 |
15 class NodeExists(Error): | 15 class NodeExists(Error): |
16 pass | 16 pass |
17 | 17 |
18 | 18 |
19 | |
19 class NotSubscribed(Error): | 20 class NotSubscribed(Error): |
20 """ | 21 """ |
21 Entity is not subscribed to this node. | 22 Entity is not subscribed to this node. |
22 """ | 23 """ |
23 | 24 |
24 | 25 |
26 | |
25 class SubscriptionExists(Error): | 27 class SubscriptionExists(Error): |
26 pass | 28 """ |
29 There already exists a subscription to this node. | |
30 """ | |
31 | |
27 | 32 |
28 | 33 |
29 class Forbidden(Error): | 34 class Forbidden(Error): |
30 pass | 35 pass |
31 | 36 |
54 pass | 59 pass |
55 | 60 |
56 | 61 |
57 class NoRootNode(Error): | 62 class NoRootNode(Error): |
58 pass | 63 pass |
64 | |
65 | |
66 | |
67 class NoCallbacks(Error): | |
68 """ | |
69 There are no callbacks for this node. | |
70 """ |