aivre / app /core /exceptions.py
Vedang Barhate
chore: copied from assist repo
cfc8e23
raw
history blame
300 Bytes
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