Commit 9124cfca authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Errors: Add get_text() for base class

parent 58456bde
Pipeline #7280 passed with stages
in 5 minutes and 11 seconds
......@@ -32,6 +32,9 @@ class BaseError(Exception):
def __str__(self):
return self.text
def get_text(self):
return self.text
class StanzaError(BaseError):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment