File: //lib/python3/dist-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-310.pyc
o
@%Ne9 � @ sx G d d� de �ZG dd� de�ZG dd� de�ZG dd� dee�ZG dd � d ee�ZeZG d
d� de�Ze Z eZ
eZdS )
c @ � e Zd ZdZdS )�UnpackExceptionz�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.
N��__name__�
__module__�__qualname__�__doc__� r r �@/usr/lib/python3/dist-packages/pip/_vendor/msgpack/exceptions.pyr � r c @ � e Zd ZdS )�
BufferFullN�r 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 )� ExtraDataz�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)�unpacked�extra)�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 �
PackException�PackValueError�
OverflowError�PackOverflowErrorr r r r �<module> s