mirror of
https://github.com/Sosokker/plain-rag.git
synced 2025-12-18 22:44:03 +01:00
15 lines
424 B
Python
15 lines
424 B
Python
class DocumentInsertionError(Exception):
|
|
"""Exception raised when document insertion to database fails."""
|
|
|
|
|
|
class DocumentExtractionError(Exception):
|
|
"""Exception raised when document extraction from PDF fails."""
|
|
|
|
|
|
class ModelNotFoundError(Exception):
|
|
"""Exception raised when model is not found."""
|
|
|
|
|
|
class FileTypeIngestionError(Exception):
|
|
"""Exception raised when user upload unsupported file type."""
|