INNER CODE UNIT · Python

APIAuthError

atenreiro/opensquat · opensquat/api_client.py:58

class APIAuthError(APIError):
    """401 Unauthorized — missing or invalid API key."""


class APIPlanError(APIError):
    """403 Forbidden — plan limit exceeded."""


class APIQuotaExhausted(APIError):
    """429 Too Many Requests — monthly quota exhausted (permanent until reset)."""

    def __init__(self, message, balance=0):
        super().__init__(message)
        self.balance = balance


class APIRateLimited(APIError):
    """429 Too Many Requests with Retry-After — transient upstream rate limit,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…