← Back
Editing: error.cpython-311.pyc
� c��]� � � � G d � de � � Z G d� de� � Z G d� de� � Z G d� dee� � Z G d� d ee� � Z G d � dee� � Z dS ) c � � e Zd ZdZdS )�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__� � �./usr/lib/python3/dist-packages/pyasn1/error.pyr r s � � � � � �� � � r r c � � e Zd ZdZdS )�ValueConstraintErrora ASN.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). Nr r r r r r s � � � � � �� � � r r c � � e Zd ZdZdS )�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error The `SubstrateUnderrunError` exception indicates insufficient serialised data on input of a de-serialization codec. Nr r r r r r s � � � � � �� � � r r c � � e Zd ZdZdd�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. Nc � � t |t � � rt j | g|j �R � t � | |� � d S �N)� isinstance�UnicodeError�__init__�argsr )�self�message� unicode_errors r r zPyAsn1UnicodeError.__init__. sL � ��m�\�2�2� =��!�$�<��);�<�<�<�<����T�7�+�+�+�+�+r r )r r r r r r r r r r % s2 � � � � � �� �,� ,� ,� ,� ,� ,r r c � � e Zd ZdZdS )�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. Nr r r r r r 4 � � � � � � �� � � r r c � � e Zd ZdZdS )�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. Nr r r r r r @ r r r N) � Exceptionr r r r r �UnicodeDecodeErrorr �UnicodeEncodeErrorr r r r �<module>r# s ��� � � � �)� � � �� � � � �;� � � �� � � � �[� � � �,� ,� ,� ,� ,��l� ,� ,� ,� � � � � �1�3E� � � � � � � � �1�3E� � � � � r
Save File
Cancel