Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/pyasn1/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/pyasn1/__pycache__/error.cpython-38.pyc
U

N��g��@s�Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�dee�ZGdd
�d
ee�Z	Gdd�dee
�ZdS)c@s$eZdZdZdd�Zedd��ZdS)�PyAsn1ErroraBBase pyasn1 exception

    `PyAsn1Error` is the base exception class (based on
    :class:`Exception`) that represents all possible ASN.1 related
    errors.

    Parameters
    ----------
    args:
        Opaque positional parameters

    Keyword Args
    ------------
    kwargs:
        Opaque keyword parameters

    cOs||_||_dS�N)�_args�_kwargs)�self�args�kwargs�r�9/opt/cppython/lib/python3.8/site-packages/pyasn1/error.py�__init__szPyAsn1Error.__init__cCs|j�di�S)a7Return exception context

        When exception object is created, the caller can supply some opaque
        context for the upper layers to better understand the cause of the
        exception.

        Returns
        -------
        : :py:class:`dict`
            Dict holding context specific data
        �context)r�get)rrrr	rs
zPyAsn1Error.contextN)�__name__�
__module__�__qualname__�__doc__r
�propertyrrrrr	r	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�r
rrrrrrr	r/src@seZdZdZdS)�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error

    The `SubstrateUnderrunError` exception indicates insufficient serialised
    data on input of a de-serialization codec.
    Nrrrrr	r:src@seZdZdZdS)�EndOfStreamErrorz�ASN.1 data structure deserialization error

    The `EndOfStreamError` exception indicates the condition of the input
    stream has been closed.
    Nrrrrr	rBsrc@seZdZdZdS)�UnsupportedSubstrateErrorz2Unsupported substrate type to parse as ASN.1 data.Nrrrrr	rJsrc@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�||�dSr)�
isinstance�UnicodeErrorr
rr)r�messageZ
unicode_errorrrr	r
Ws
zPyAsn1UnicodeError.__init__)N)r
rrrr
rrrr	rNsrc@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.
    Nrrrrr	r]src@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.
    Nrrrrr	risrN)�	Exceptionrrrrrrr�UnicodeDecodeErrorr�UnicodeEncodeErrorrrrrr	�<module>	s&

F1le Man4ger