File: //usr/lib/python3.9/site-packages/pyasn1/__pycache__/error.cpython-39.opt-1.pyc
a
.�]� � @ sj G d d� de �ZG dd� de�ZG dd� de�ZG dd� dee�ZG dd � d ee�ZG d
d� dee�Z dS )
c @ s 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__� r r �0/usr/lib/python3.9/site-packages/pyasn1/error.pyr s r c @ s 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 c @ s 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
c @ s e Zd ZdZddd�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 C s. t |t�rtj| g|j�R � t�| |� d S )N)�
isinstance�UnicodeError�__init__�argsr )�self�messageZ
unicode_errorr r r r . s
zPyAsn1UnicodeError.__init__)N)r r r r r r r r r r % s r c @ s 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 s r c @ s 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 @ s r N)
� Exceptionr r r
r
r �UnicodeDecodeErrorr �UnicodeEncodeErrorr r r r r �<module> s