B
    ‹æ@\
  ã               @   sf   d Z ddlmZmZmZ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.

é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literalsN)Ú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   ú8lib/python3.7/site-packages/bokeh/protocol/exceptions.pyr   0   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.

    N)r	   r
   r   r   r   r   r   r   r   9   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.

    N)r	   r
   r   r   r   r   r   r   r   B   s   r   )r   Z
__future__r   r   r   r   ZloggingZ	getLoggerr	   ÚlogÚ__all__Ú	Exceptionr   r   r   r   r   r   r   Ú<module>
   s   
		