Spaces:
Running
Running
| class RAGException(Exception): | |
| """Base exception for RAG system""" | |
| pass | |
| class IndexNotLoadedError(RAGException): | |
| """Raised when trying to search without loading index""" | |
| pass | |
| class DocumentProcessingError(RAGException): | |
| """Raised when document processing fails""" | |
| pass | |