Files
mayan-edms/apps/ocr/parsers/exceptions.py

11 lines
218 B
Python

class ParserError(Exception):
"""
Raised when a text parser fails to understand a file it been passed
or the resulting parsed text is invalid
"""
pass
class ParserUnknownFile(Exception):
pass