"""Custom exceptions for the application"""


class BotEngineException(Exception):
    """Base exception for bot engine"""
    pass


class RateLimitExceeded(BotEngineException):
    """Raised when rate limit is exceeded"""
    pass


class CircuitBreakerOpen(BotEngineException):
    """Raised when circuit breaker is open"""
    pass


class PageNotFound(BotEngineException):
    """Raised when page is not found"""
    pass


class FacebookAPIError(BotEngineException):
    """Raised when Facebook API returns an error"""
    pass


class LaravelAPIError(BotEngineException):
    """Raised when Laravel API returns an error"""
    pass


class MessageProcessingError(BotEngineException):
    """Raised when message processing fails"""
    pass
