U cf9@sxGdddeZGdddeZGdddeZGdddeeZGdd d eeZeZGd d d eZeZ eZ e Z d S) c@seZdZdZdS)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__rrL/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/msgpack/exceptions.pyrsrc@s eZdZdS) BufferFullNrrrrrrrr sr c@s eZdZdS) OutOfDataNr rrrrr sr c@seZdZdZdS) FormatErrorzInvalid msgpack formatNrrrrrr sr c@seZdZdZdS) StackErrorz Too nestedNrrrrrr sr c@s eZdZdZddZddZdS) ExtraDatazExtraData is raised when there is trailing data. This exception is raised while only one-shot (not streaming) unpack. cCs||_||_dS)N)unpackedextra)selfrrrrr__init__%szExtraData.__init__cCsdS)Nzunpack(b) received extra data.r)rrrr__str__)szExtraData.__str__N)rrrrrrrrrrrsrN) Exceptionrr r ValueErrorr r UnpackValueErrorr PackExceptionPackValueError OverflowErrorPackOverflowErrorrrrrs