Use SASLPrepFailure as the exception name instead of UnicodeError.
This commit is contained in:
+4
@@ -29,3 +29,7 @@ class SASLCancelled(SASLError):
|
||||
:type sasl: `suelta.SASL`
|
||||
"""
|
||||
super(SASLCancelled, self).__init__(sasl, "User cancelled", mech)
|
||||
|
||||
|
||||
class SASLPrepFailure(UnicodeError):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user