Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 9124cfca by lovetox at 2021-02-11T20:39:10+01:00 Errors: Add get_text() for base class
- - - - -
1 changed file:
- nbxmpp/errors.py
Changes:
===================================== 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):
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/9124cfca492beffa8eb53bb52...