U
    õÕ/eµ	  ã                   @  sZ   d Z ddlmZ ddlZe e¡ZdZG dd„ deƒZ	G dd„ deƒZ
G d	d
„ d
eƒZdS )zO Provide named exceptions having to do with handling Bokeh Protocol
messages.

é    )ÚannotationsN)ÚMessageErrorÚProtocolErrorÚValidationErrorc                   @  s   e Zd ZdZdS )r   z© Indicate an error in constructing a Bokeh Message object.

    This exception usually indicates that the JSON fragments of a message
    cannot be decoded at all.

    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   ú=/tmp/pip-unpacked-wheel-f5fndrjf/bokeh/protocol/exceptions.pyr   *   s   r   c                   @  s   e Zd ZdZdS )r   zž Indicate an error in processing wire protocol fragments.

    This exception indicates that decoded message fragments cannot be properly
    assembled.

    Nr   r   r   r   r   r   3   s   r   c                   @  s   e Zd ZdZdS )r   zÆ Indicate an error validating wire protocol fragments.

    This exception typically indicates that a binary message fragment was
    received when a text fragment was expected, or vice-versa.

    Nr   r   r   r   r   r   <   s   r   )r
   Ú
__future__r   ÚloggingÚ	getLoggerr   ÚlogÚ__all__Ú	Exceptionr   r   r   r   r   r   r   Ú<module>   s   

		