diff sat_pubsub/error.py @ 294:df1edebb0466

PEP implementation, draft (huge patch sorry): /!\ database schema has changed ! /!\ - whole PEP behaviour is not managed yet - if the stanza is delegated, PEP is assumed - fixed potential SQL injection in pgsql_storage - publish notifications manage PEP - added retract notifications (if "notify" attribute is present), with PEP handling - a publisher can't replace an item he didn't publised anymore - /!\ schema has changed, sat_pubsub_update_0_1.sql update it - sat_pubsub_update_0_1.sql also fixes bad items coming from former version of SàT
author Goffi <goffi@goffi.org>
date Sun, 16 Aug 2015 01:32:42 +0200
parents 002c59dbc23f
children a776544d84e5
line wrap: on
line diff
--- a/sat_pubsub/error.py	Sun Aug 16 01:15:13 2015 +0200
+++ b/sat_pubsub/error.py	Sun Aug 16 01:32:42 2015 +0200
@@ -97,12 +97,17 @@
 
 class NotAuthorized(Error):
     pass
- 
+
 
 
 class NotInRoster(Error):
     pass
- 
+
+
+
+class ItemNotFound(Error):
+    pass
+
 
 
 class ItemForbidden(Error):