Feat/compliance (#13548)

This commit is contained in:
Xiyuan Chen authored and GitHub committed 2025-02-16 20:31:52 -05:00
1 parent 035e54ba4d
commit ed7d7a74ea
4 files changed
+71 -1

No files matched your search

+6
View File
@@ -101,3 +101,9 @@ class AccountInFreezeError(BaseHTTPException):
"This email account has been deleted within the past 30 days"
"and is temporarily unavailable for new account registration."
)
class CompilanceRateLimitError(BaseHTTPException):
error_code = "compilance_rate_limit"
description = "Rate limit exceeded for downloading compliance report."
code = 429