
    5j                    V    S r SSKJr   " S S\5      r " S S\5      r " S S\5      rg	)
z
errors and exceptions
    )annotationsc                      \ rS rSrSrSrg)ConfigurationError   z:
Error raised when a configuration problem is encountered
 N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       L/root/lseg-credit/backend/venv/lib/python3.13/site-packages/limits/errors.pyr   r      s    r   r   c                  0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )ConcurrentUpdateError   zF
Error raised when an update to limit fails due to concurrent
updates
c                2   > [         TU ]  SU SU S35        g )NzUnable to update z after z retries)super__init__)selfkeyattempts	__class__s      r   r   ConcurrentUpdateError.__init__   s     ,SE
(KLr   r   )r   strr   intreturnNone)r   r	   r
   r   r   r   r   __classcell__)r   s   @r   r   r      s    
M Mr   r   c                  "    \ rS rSrSrSS jrSrg)StorageError   z8
Error raised when an error is encountered in a storage
c                    Xl         g )Nstorage_error)r   r%   s     r   r   StorageError.__init__   s    *r   r$   N)r%   	Exceptionr   r   )r   r	   r
   r   r   r   r   r   r   r   r!   r!      s    +r   r!   N)r   
__future__r   r'   r   r   r!   r   r   r   <module>r)      s5    # MI M+9 +r   