XylotrechusZ
U
��.e9 � @ 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 @ s 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 �B/usr/lib/python3.8/site-packages/pip/_vendor/msgpack/exceptions.pyr s r c @ s e Zd ZdS )�
BufferFullN�r r r r r r r r
s r c @ s e Zd ZdS )� OutOfDataNr
r r r r r s r c @ s e Zd ZdZdS )�FormatErrorzInvalid msgpack formatNr r r r r r s r c @ s e Zd ZdZdS )�
StackErrorz
Too nestedNr r r r r r
s 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
ZUnpackValueErrorr Z
PackExceptionZPackValueError�
OverflowErrorZPackOverflowErrorr r r r �<module> s