增加排序

This commit is contained in:
dekun
2026-05-22 13:30:50 +08:00
parent 08b840c0c5
commit ee621976db
8 changed files with 251 additions and 77 deletions
+7
View File
@@ -0,0 +1,7 @@
class BinanceRateLimitedError(Exception):
"""币安 418/429IP 临时封禁。"""
def __init__(self, retry_after_sec: int, path: str = ""):
self.retry_after_sec = retry_after_sec
self.path = path
super().__init__(f"rate limited {retry_after_sec}s on {path}")