3
ñ\ð]Ù  ã               @   sT   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               @   s   e Zd ZdS )ÚSocketIOErrorN)Ú__name__Ú
__module__Ú__qualname__© r   r   ú>/tmp/pip-build-mqc4i71p/python-socketio/socketio/exceptions.pyr      s   r   c               @   s   e Zd ZdS )ÚConnectionErrorN)r   r   r   r   r   r   r   r      s   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   sF   t |ƒdkrd | _n.t |ƒdkr<t|d tƒ r<|d | _n|| _d S )Né    é   )ÚlenZ
error_argsÚ
isinstanceÚlist)ÚselfÚargsr   r   r   Ú__init__   s
    zConnectionRefusedError.__init__N)r   r   r   Ú__doc__r   r   r   r   r   r   	   s   r   c               @   s   e Zd ZdS )ÚTimeoutErrorN)r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )ÚBadNamespaceErrorN)r   r   r   r   r   r   r   r      s   r   N)Ú	Exceptionr   r   r   r   r   r   r   r   r   Ú<module>   s   