U
    #i                     @   s   G d d de ZdS )c                   @   s&   e Zd ZdZedddZdd ZdS )NotConnectedErrorza
    Raised when operations requiring a connection are executed when socket is not connected
    )	func_namec                 C   s
   || _ d S )NZoffending_func_name)selfr    r   7/tmp/pip-unpacked-wheel-935k1slo/realtime/exceptions.py__init__   s    zNotConnectedError.__init__c                 C   s   d| j  dS )NzaA WS connection has not been established. Ensure you call Socket.connect() before calling Socket.z()r   )r   r   r   r   __str__	   s    zNotConnectedError.__str__N)__name__
__module____qualname____doc__strr   r   r   r   r   r   r      s   r   N)	Exceptionr   r   r   r   r   <module>       