B ý`cÑã@sjGdd„deƒZGdd„deƒZGdd„deƒZGdd„deeƒZGdd „d eeƒZGd d „d eeƒZ d S) c@seZdZdZdS)Ú PyAsn1Errorz¢Base pyasn1 exception `PyAsn1Error` is the base exception class (based on :class:`Exception`) that represents all possible ASN.1 related errors. N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©rrú3/tmp/pip-target-ywh1gcq3/lib/python/pyasn1/error.pyr src@seZdZdZdS)ÚValueConstraintErroraASN.1 type constraints violation exception The `ValueConstraintError` exception indicates an ASN.1 value constraint violation. It might happen on value object instantiation (for scalar types) or on serialization (for constructed types). N)rrrrrrrrrsrc@seZdZdZdS)ÚSubstrateUnderrunErrorz¬ASN.1 data structure deserialization error The `SubstrateUnderrunError` exception indicates insufficient serialised data on input of a de-serialization codec. N)rrrrrrrrr sr c@seZdZdZddd„ZdS)ÚPyAsn1UnicodeErrora.Unicode text processing error The `PyAsn1UnicodeError` exception is a base class for errors relating to unicode text de/serialization. Apart from inheriting from :class:`PyAsn1Error`, it also inherits from :class:`UnicodeError` to help the caller catching unicode-related errors. NcCs,t|tƒrtj|f|jžŽt ||¡dS)N)Ú isinstanceÚ UnicodeErrorÚ__init__Úargsr)ÚselfÚmessageZ unicode_errorrrrr .s zPyAsn1UnicodeError.__init__)N)rrrrr rrrrr %sr c@seZdZdZdS)ÚPyAsn1UnicodeDecodeErrora/Unicode text decoding error The `PyAsn1UnicodeDecodeError` exception represents a failure to deserialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeDecodeError` to help the caller catching unicode-related errors. N)rrrrrrrrr4s rc@seZdZdZdS)ÚPyAsn1UnicodeEncodeErrora-Unicode text encoding error The `PyAsn1UnicodeEncodeError` exception represents a failure to serialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeEncodeError` to help the caller catching unicode-related errors. N)rrrrrrrrr@s rN) Ú Exceptionrrr r r ÚUnicodeDecodeErrorrÚUnicodeEncodeErrorrrrrrÚ s