"""Custom exceptions for scraper operations."""


class ScraperError(Exception):
    """Base exception for all scraper errors."""

    pass


class LoginError(ScraperError):
    """Raised when login fails."""

    pass


class KeyboardError(ScraperError):
    """Raised when keyboard interaction fails."""

    pass


class NavigationError(ScraperError):
    """Raised when page navigation fails."""

    pass


class DataExtractionError(ScraperError):
    """Raised when data extraction fails."""

    pass
