
    e                     "     G d  de           ZdS )c                   "     e Zd ZdZ fdZ xZS )RateLimitExceptionz%
    Rate limit exception class.
    c                 f    t          t          |                               |           || _        dS )a  
        Custom exception raise when the number of function invocations exceeds
        that imposed by a rate limit. Additionally the exception is aware of
        the remaining time period after which the rate limit is reset.

        :param string message: Custom exception message.
        :param float period_remaining: The time remaining until the rate limit is reset.
        N)superr   __init__period_remaining)selfmessager   	__class__s      8/usr/lib/python3.11/site-packages/ratelimit/exception.pyr   zRateLimitException.__init__   s2     	 $''00999 0    )__name__
__module____qualname____doc__r   __classcell__)r
   s   @r   r   r      sB         
1 
1 
1 
1 
1 
1 
1 
1 
1r   r   N)	Exceptionr    r   r   <module>r      s9   1 1 1 1 1 1 1 1 1 1r   