o
    wvXjZ  ã                   @   s$   G d d„ de ƒZG dd„ de ƒZdS )c                   @   s   e Zd Zddd„Zdd„ ZdS )ÚConnectionInterruptedNc                 C   s
   || _ d S ©N)Ú
connection)Úselfr   Úparent© r   úT/var/www/html/myproject/venv/lib/python3.10/site-packages/django_redis/exceptions.pyÚ__init__   s   
zConnectionInterrupted.__init__c                 C   s"   t | jƒj}t| jƒ}d ||¡S )NzRedis {}: {})ÚtypeÚ	__cause__Ú__name__ÚstrÚformat)r   Ú
error_typeÚ	error_msgr   r   r   Ú__str__   s   
zConnectionInterrupted.__str__r   )r   Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s    
r   c                   @   s   e Zd ZdS )ÚCompressorErrorN)r   r   r   r   r   r   r   r      s    r   N)Ú	Exceptionr   r   r   r   r   r   Ú<module>   s    
