Commit a97f2ddd authored by Miguel Tremblay's avatar Miguel Tremblay
Browse files

Add the class Metro_xml_error.

parent 753c241a
......@@ -91,3 +91,12 @@ class Metro_date_error(Metro_error):
""" Put the message in string only if it is a string"""
self.sError = "\n" + _("Date error: ") + self.sError
return self.sError
class Metro_xml_error(Metro_error):
"""
Something went wrong in parsing the XML
"""
def __str__(self):
""" Put the message in string only if it is a string"""
self.sError = "\n" + self.sError
return self.sError
Supports Markdown
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