ó
|S\c           @   s¦   d  e  f d     YZ d e f d     YZ d e f d     YZ d e e f d     YZ d e e f d	     YZ e Z d
 e f d     YZ e  Z	 e Z
 e Z d S(   t   UnpackExceptionc           B   s   e  Z d  Z RS(   sĖ   Base 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.
    (   t   __name__t
   __module__t   __doc__(    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR       s   t
   BufferFullc           B   s   e  Z RS(    (   R   R   (    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR   
   s   t	   OutOfDatac           B   s   e  Z RS(    (   R   R   (    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR      s   t   FormatErrorc           B   s   e  Z d  Z RS(   s   Invalid msgpack format(   R   R   R   (    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR      s   t
   StackErrorc           B   s   e  Z d  Z RS(   s
   Too nested(   R   R   R   (    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR      s   t	   ExtraDatac           B   s    e  Z d  Z d   Z d   Z RS(   s   ExtraData is raised when there is trailing data.

    This exception is raised while only one-shot (not streaming)
    unpack.
    c         C   s   | |  _  | |  _ d  S(   N(   t   unpackedt   extra(   t   selfR	   R
   (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyt   __init__%   s    	c         C   s   d S(   Ns   unpack(b) received extra data.(    (   R   (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyt   __str__)   s    (   R   R   R   R   R   (    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyR      s   	N(   t	   ExceptionR    R   R   t
   ValueErrorR   R   t   UnpackValueErrorR   t   PackExceptiont   PackValueErrort   OverflowErrort   PackOverflowError(    (    (    s1   lib/python2.7/site-packages/msgpack/exceptions.pyt   <module>   s   	