Use SASLPrepFailure as the exception name instead of UnicodeError.

This commit is contained in:
Lance Stout
2012-05-14 23:12:54 -07:00
parent 8a23f28dfa
commit f5beac2afa
3 changed files with 23 additions and 15 deletions
+4
View File
@@ -29,3 +29,7 @@ class SASLCancelled(SASLError):
:type sasl: `suelta.SASL`
"""
super(SASLCancelled, self).__init__(sasl, "User cancelled", mech)
class SASLPrepFailure(UnicodeError):
pass