
    keJi                     f    d dl mZ  G d de          Z G d de          Z G d de          ZdS )	    )Iterablec                   "     e Zd ZdZ fdZ xZS )RequestTokenErrz7
    Represents an exception during token request.
    c                 4     t                      j        |  d S Nsuper__init__selfargs	__class__s     T/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/redis/auth/err.pyr
   zRequestTokenErr.__init__	       $    __name__
__module____qualname____doc__r
   __classcell__r   s   @r   r   r      B                          r   r   c                   8     e Zd ZdZg fdee         f fdZ xZS )InvalidTokenSchemaErrzB
    Represents an exception related to invalid token schema.
    missing_fieldsc                 v    t                                          dd                    |          z              d S )Nz7Unexpected token schema. Following fields are missing: z, )r	   r
   join)r   r   r   s     r   r
   zInvalidTokenSchemaErr.__init__   s@    Eii''(	
 	
 	
 	
 	
r   )r   r   r   r   r   strr
   r   r   s   @r   r   r      s\          8: 
 
x} 
 
 
 
 
 
 
 
 
 
r   r   c                   "     e Zd ZdZ fdZ xZS )TokenRenewalErrz?
    Represents an exception during token renewal process.
    c                 4     t                      j        |  d S r   r   r   s     r   r
   zTokenRenewalErr.__init__   r   r   r   r   s   @r   r!   r!      r   r   r!   N)typingr   	Exceptionr   r   r!    r   r   <module>r&      s                  i      	
 	
 	
 	
 	
I 	
 	
 	
         i          r   