]> code.communitydata.science - rises_declines_wikia_code.git/blob - mediawiki_dump_tools/Mediawiki-Utilities/mw/xml_dump/errors.py
Initial commit
[rises_declines_wikia_code.git] / mediawiki_dump_tools / Mediawiki-Utilities / mw / xml_dump / errors.py
1 class FileTypeError(Exception):
2     """
3     Thrown when an XML dump file is not of an expected type.
4     """
5     pass
6
7
8 class MalformedXML(Exception):
9     """
10     Thrown when an XML dump file is not formatted as expected.
11     """
12     pass

Community Data Science Collective || Want to submit a patch?