HEX
Server: LiteSpeed
System: Linux srv146.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: kodi1989 (1633)
PHP: 8.1.34
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/pyasn1/__pycache__/error.cpython-37.pyc
B

��f��@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�=/opt/alt/python37/lib/python3.7/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)rrrrr
s
zPyAsn1Error.contextN)�__name__�
__module__�__qualname__�__doc__r	�propertyr
rrrrr	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r
rrrrrrr/src@seZdZdZdS)�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error

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

    The `EndOfStreamError` exception indicates the condition of the input
    stream has been closed.
    N)rr
rrrrrrrBsrc@seZdZdZdS)�UnsupportedSubstrateErrorz2Unsupported substrate type to parse as ASN.1 data.N)rr
rrrrrrrJsrc@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�UnicodeErrorr	rr)r�messageZ
unicode_errorrrrr	Ws
zPyAsn1UnicodeError.__init__)N)rr
rrr	rrrrrNsrc@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)rr
rrrrrrr]s	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)rr
rrrrrrris	rN)�	Exceptionrrrrrrr�UnicodeDecodeErrorr�UnicodeEncodeErrorrrrrr�<module>	s&