diff idavoll/xmpp_error.py @ 13:226a97dd79ff

Added two errors
author Ralph Meijer <ralphm@ik.nu>
date Sat, 17 Jul 2004 22:02:40 +0000
parents 76efc9114469
children 53b1bea9289b
line wrap: on
line diff
--- a/idavoll/xmpp_error.py	Fri Jul 09 15:46:10 2004 +0000
+++ b/idavoll/xmpp_error.py	Sat Jul 17 22:02:40 2004 +0000
@@ -4,7 +4,9 @@
 	'bad-request':				{'code': '400', 'type': 'modify'},
 	'not-authorized':			{'code': '401', 'type': 'cancel'},
 	'item-not-found':			{'code': '404', 'type': 'cancel'},
+	'internal-server-error':	{'code': '500', 'type': 'wait'},
 	'feature-not-implemented':	{'code': '501', 'type': 'cancel'},
+	'service-unavailable':		{'code': '503', 'type': 'cancel'},
 }
 
 def error_from_iq(iq, condition, text = '', type = None):