o
    ¨ÝjÏ  ã                   @   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G dd	„ d	eƒZG d
d„ deƒZdS )c                   @   ó   e Zd ZdS )ÚSocketIOErrorN©Ú__name__Ú
__module__Ú__qualname__© r   r   úN/var/www/html/chatgpt/venv/lib/python3.10/site-packages/socketio/exceptions.pyr      ó    r   c                   @   r   )ÚConnectionErrorNr   r   r   r   r   r
      r	   r
   c                   @   s   e Zd ZdZdd„ ZdS )ÚConnectionRefusedErrorzïConnection refused exception.

    This exception can be raised from a connect handler when the connection
    is not accepted. The positional arguments provided with the exception are
    returned with the error packet to the client.
    c                 G   s‚   t |ƒdkrddi| _d S t |ƒdkrdt|d ƒi| _d S dt|d ƒi| _t |ƒdkr6|d | jd< d S |dd … | jd< d S )Né    ÚmessagezConnection rejected by serveré   é   Údata)ÚlenZ
error_argsÚstr)ÚselfÚargsr   r   r   Ú__init__   s   zConnectionRefusedError.__init__N)r   r   r   Ú__doc__r   r   r   r   r   r   	   s    r   c                   @   r   )ÚTimeoutErrorNr   r   r   r   r   r      r	   r   c                   @   r   )ÚBadNamespaceErrorNr   r   r   r   r   r   !   r	   r   c                   @   r   )ÚDisconnectedErrorNr   r   r   r   r   r   %   r	   r   N)Ú	Exceptionr   r
   r   r   r   r   r   r   r   r   Ú<module>   s    