Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2021-02-11 22:39:10 +0300
committerlovetox <philipp@hoerist.com>2021-02-19 00:47:44 +0300
commit184a22e1fd8f17bc662c99ebde436b94f213a360 (patch)
tree6ad581fbf069eed9e9a2ab21707f5b292d4ee9d2
parenta8a240a2367827a75831ba0cf94144cc5076ab5f (diff)
Errors: Add get_text() for base class
-rw-r--r--nbxmpp/errors.py3
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):