Files
mayan-edms/mayan/apps/document_parsing/exceptions.py
Roberto Rosario a7eaf6b368 Finish the document parsing app.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2017-08-24 03:54:07 -04:00

16 lines
258 B
Python

from __future__ import unicode_literals
class ParserError(Exception):
"""
Base exception for file parsers
"""
pass
class NoMIMETypeMatch(ParserError):
"""
There is no parser registered for the specified MIME type
"""
pass