class MetaScrapeError(Exception):
    """Raised when the MetaScrape API returns a non-2xx response."""

    def __init__(self, status_code, message):
        self.status_code = status_code
        self.message = message
        super().__init__(f"MetaScrape API error ({status_code}): {message}")
