o
    ¾¿iy  ã                   @   sD   G d d„ de ƒZG dd„ de ƒZG dd„ de ƒZG dd„ de ƒZdS )	c                   @   s   e Zd ZdS )ÚNoValidDatabaseExceptionN)Ú__name__Ú
__module__Ú__qualname__© r   r   úK/home/ubuntu/.local/lib/python3.10/site-packages/redis/multidb/exception.pyr      s    r   c                       s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚUnhealthyDatabaseExceptionzMException raised when a database is unhealthy due to an underlying exception.c                    s   t ƒ  |¡ || _|| _d S )N)ÚsuperÚ__init__ÚdatabaseÚoriginal_exception)ÚselfÚmessager
   r   ©Ú	__class__r   r   r	      s   
z#UnhealthyDatabaseException.__init__)r   r   r   Ú__doc__r	   Ú__classcell__r   r   r   r   r      s    r   c                   @   ó   e Zd ZdZdS )ÚTemporaryUnavailableExceptionzGException raised when all databases in setup are temporary unavailable.N©r   r   r   r   r   r   r   r   r      ó    r   c                   @   r   )ÚInitialHealthCheckFailedErrorz1Exception raised when initial health check fails.Nr   r   r   r   r   r      r   r   N)Ú	Exceptionr   r   r   r   r   r   r   r   Ú<module>   s    	