File size: 312 Bytes
4ccde7a
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
class MCPExtractorError(Exception):
    """Base exception for this application."""


class OCRProcessingError(MCPExtractorError):
    """Raised when OCR / document conversion fails."""


class InvalidDocumentURLError(MCPExtractorError):
    """Raised when the provided document URL is invalid or unreachable."""