관리-도구
편집 파일: exceptions.cpython-36.pyc
3 �Re9 � @ 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 ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/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 )� OutOfDataN)r r r r r r r r s r c @ s e Zd ZdZdS )�FormatErrorzInvalid msgpack formatN)r r r r r r r r r s r c @ s e Zd ZdZdS )� StackErrorz Too nestedN)r r r r 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 �UnpackValueErrorr � PackException�PackValueError� OverflowError�PackOverflowErrorr r r r �<module> s