o
    9a9                     @   sx   G d d de ZG dd deZG dd deZG dd deeZG dd	 d	eeZeZG d
d deZe Z	eZ
eZdS )c                   @      e Zd ZdZdS )UnpackExceptionzBase class for some exceptions raised while unpacking.

    NOTE: unpack may raise exception other than subclass of
    UnpackException.  If you want to catch all error, catch
    Exception instead.
    N__name__
__module____qualname____doc__ r   r   4/usr/lib/python3/dist-packages/msgpack/exceptions.pyr          r   c                   @      e Zd ZdS )
BufferFullNr   r   r   r   r   r   r	   r   
       r   c                   @   r   )	OutOfDataNr   r   r   r   r	   r      r   r   c                   @   r   )FormatErrorzInvalid msgpack formatNr   r   r   r   r	   r      r
   r   c                   @   r   )
StackErrorz
Too nestedNr   r   r   r   r	   r      r
   r   c                   @   s    e Zd ZdZdd Zdd ZdS )	ExtraDatazExtraData is raised when there is trailing data.

    This exception is raised while only one-shot (not streaming)
    unpack.
    c                 C   s   || _ || _d S )N)unpackedextra)selfr   r   r   r   r	   __init__%   s   
zExtraData.__init__c                 C   s   dS )Nzunpack(b) received extra data.r   )r   r   r   r	   __str__)   s   zExtraData.__str__N)r   r   r   r   r   r   r   r   r   r	   r      s    r   N)	Exceptionr   r   r   
ValueErrorr   r   ZUnpackValueErrorr   ZPackExceptionZPackValueErrorOverflowErrorZPackOverflowErrorr   r   r   r	   <module>   s    	