(cls, message: str)
| 969 | |
| 970 | @classmethod |
| 971 | def isPrimaryRateLimitError(cls, message: str) -> bool: |
| 972 | if not message: |
| 973 | return False |
| 974 | |
| 975 | message = message.lower() |
| 976 | return message.startswith("api rate limit exceeded") |
| 977 | |
| 978 | @classmethod |
| 979 | def isSecondaryRateLimitError(cls, message: str) -> bool: |
no outgoing calls
no test coverage detected