summaryrefslogtreecommitdiff
path: root/sleekxmpp/thirdparty/suelta/exceptions.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-05-14 23:12:54 -0700
committerLance Stout <lancestout@gmail.com>2012-05-14 23:12:54 -0700
commitf5beac2afafeab1f1a788d1409b61834b124469c (patch)
tree98a8a4ee16a4fc3d64422f506904b12d8ada2c67 /sleekxmpp/thirdparty/suelta/exceptions.py
parent8a23f28dfa3ac6b97d35cb81bb071cd2802271e8 (diff)
downloadslixmpp-f5beac2afafeab1f1a788d1409b61834b124469c.tar.gz
slixmpp-f5beac2afafeab1f1a788d1409b61834b124469c.tar.bz2
slixmpp-f5beac2afafeab1f1a788d1409b61834b124469c.tar.xz
slixmpp-f5beac2afafeab1f1a788d1409b61834b124469c.zip
Use SASLPrepFailure as the exception name instead of UnicodeError.
Diffstat (limited to 'sleekxmpp/thirdparty/suelta/exceptions.py')
-rw-r--r--sleekxmpp/thirdparty/suelta/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sleekxmpp/thirdparty/suelta/exceptions.py b/sleekxmpp/thirdparty/suelta/exceptions.py
index 625cca0e..40d8bad3 100644
--- a/sleekxmpp/thirdparty/suelta/exceptions.py
+++ b/sleekxmpp/thirdparty/suelta/exceptions.py
@@ -29,3 +29,7 @@ class SASLCancelled(SASLError):
:type sasl: `suelta.SASL`
"""
super(SASLCancelled, self).__init__(sasl, "User cancelled", mech)
+
+
+class SASLPrepFailure(UnicodeError):
+ pass