diff options
-rw-r--r-- | nbxmpp/errors.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nbxmpp/errors.py b/nbxmpp/errors.py index 8cca2d6..86288ee 100644 --- a/nbxmpp/errors.py +++ b/nbxmpp/errors.py @@ -32,6 +32,9 @@ class BaseError(Exception): def __str__(self): return self.text + def get_text(self): + return self.text + class StanzaError(BaseError): |