
    h                     R    d dl mZ  G d de      Z G d de      Z G d de      Zy)	    )Iterablec                   "     e Zd ZdZ fdZ xZS )RequestTokenErrz7
    Represents an exception during token request.
    c                     t        |   |  y Nsuper__init__selfargs	__class__s     p/var/www/fastuser/data/www/generator.snapmosaic.io/flask_app/venv/lib/python3.12/site-packages/redis/auth/err.pyr
   zRequestTokenErr.__init__	       $    __name__
__module____qualname____doc__r
   __classcell__r   s   @r   r   r             r   r   c                   2     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                 H    t         |   ddj                  |      z          y )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                     t        |   |  y 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   