diff options
author | lovetox <philipp@hoerist.com> | 2021-02-11 22:39:10 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2021-02-19 00:47:44 +0300 |
commit | 184a22e1fd8f17bc662c99ebde436b94f213a360 (patch) | |
tree | 6ad581fbf069eed9e9a2ab21707f5b292d4ee9d2 | |
parent | a8a240a2367827a75831ba0cf94144cc5076ab5f (diff) |
Errors: Add get_text() for base class
-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): |