Added exception to catch rate-limiting.

This commit is contained in:
2022-09-13 14:47:48 +12:00
parent 2c6c1f6f34
commit bbd2083109
2 changed files with 23 additions and 3 deletions

View File

@@ -31,6 +31,14 @@ class ContactNotFound(Error):
"""
Account not found
Args:
Error (_type_): _description_
"""
class TooManyAttempts(Error):
"""
Too Many attempts to API
Args:
Error (_type_): _description_
"""