(self, status_code: int, message: str)
| 33 | """Non-2xx response from the API server.""" |
| 34 | |
| 35 | def __init__(self, status_code: int, message: str): |
| 36 | self.status_code = status_code |
| 37 | super().__init__(f"HTTP {status_code}: {message}") |
| 38 | |
| 39 | |
| 40 | class RateLimitError(APIError): |