�
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 y)
c � � e Zd ZdZy)�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 ZdZy)�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 ZdZy)�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�Zy)�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 � r t j | g|j ��� t j | |� y �N)�
isinstance�UnicodeError�__init__�argsr )�self�message�
unicode_errors r r zPyAsn1UnicodeError.__init__. s5 � ��m�\�2��!�!�$�<��);�);�<����T�7�+r
r )r r r r r r r
r r r % s � ��,r
r c � � e Zd ZdZy)�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 ZdZy)�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# sW ���)� ��;� ��[� �,��l� ,� �1�3E� � �1�3E� r
|