mirror of
https://github.com/Sosokker/plain-rag.git
synced 2025-12-19 23:04:05 +01:00
11 lines
314 B
Python
11 lines
314 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."""
|