o
ai9 @ sx G d d de ZG dd deZG dd deZG dd deeZG dd d eeZeZG d
d deZe Z eZ
eZdS )
c @ e Zd ZdZdS )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 /builddir/build/BUILDROOT/alt-python310-pip-21.3.1-5.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/msgpack/exceptions.pyr r c @ e Zd ZdS )
BufferFullNr r r r r r r r
r c @ r ) OutOfDataNr
r r r r r r r c @ r )FormatErrorzInvalid msgpack formatNr r r r r r r
r c @ r )
StackErrorz
Too nestedNr r r r r r r
r c @ s e Zd ZdZdd Zdd ZdS ) 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)unpackedextra)selfr r r r r __init__% s
zExtraData.__init__c C s dS )Nzunpack(b) received extra data.r )r r r r __str__) s zExtraData.__str__N)r r r r r r r r r r r s r N)
Exceptionr r r
ValueErrorr r UnpackValueErrorr
PackExceptionPackValueError
OverflowErrorPackOverflowErrorr r r r