beeai-backend / src /beeai /core /exceptions.py
GabrielMacielZavarize
Deploy inicial BeeAI backend
cd0e36b
raw
history blame contribute delete
433 Bytes
class AppError(Exception):
"""Base application exception."""
class NotFoundError(AppError):
"""Raised when an entity cannot be found."""
class ConflictError(AppError):
"""Raised when an entity violates uniqueness constraints."""
class InvalidRequestError(AppError):
"""Raised when request input is invalid."""
class ModelNotReadyError(AppError):
"""Raised when the active model is missing or unusable."""