Team Ai
Apppublic

Underground-Digital/Workflow-Engine

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
1class DocumentExtractorError(ValueError):2    """Base exception for errors related to the DocumentExtractorNode."""3 4 5class FileDownloadError(DocumentExtractorError):6    """Exception raised when there's an error downloading a file."""7 8 9class UnsupportedFileTypeError(DocumentExtractorError):10    """Exception raised when trying to extract text from an unsupported file type."""11 12 13class TextExtractionError(DocumentExtractorError):14    """Exception raised when there's an error during text extraction from a file."""15