6 lines
244 B
Python
6 lines
244 B
Python
class RateLimitError(Exception):
|
|
"""Exception raised when the rate limit is exceeded."""
|
|
|
|
def __init__(self, message='Rate limit exceeded. Please try again later.'):
|
|
self.message = message
|
|
super().__init__(self.message)
|