File size: 412 Bytes
c59d808 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Custom exception handlers for the Recipe Recommendation Bot
class RecipeNotFoundError(Exception):
"""Raised when a recipe is not found"""
pass
class LLMServiceError(Exception):
"""Raised when LLM service encounters an error"""
pass
class VectorStoreError(Exception):
"""Raised when vector store operations fail"""
pass
# TODO: Add more specific exception classes and error handlers
|