HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/pyasn1/__pycache__/error.cpython-310.pyc
o

;j��@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/saltstack/salt/lib/python3.10/site-packages/pyasn1/error.py�__init__s
zPyAsn1Error.__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	s
rc@�eZdZdZdS)�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/�rc@r)�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error

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

    The `EndOfStreamError` exception indicates the condition of the input
    stream has been closed.
    Nrrrrr	rBrrc@r)�UnsupportedSubstrateErrorz2Unsupported substrate type to parse as ASN.1 data.Nrrrrr	rJrrc@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|g|j�R�t�||�dSr)�
isinstance�UnicodeErrorr
rr)r�messageZ
unicode_errorrrr	r
Ws
zPyAsn1UnicodeError.__init__r)r
rrrr
rrrr	rNsrc@r)�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]rrc@r)�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	rirrN)�	Exceptionrrrrrrr�UnicodeDecodeErrorr�UnicodeEncodeErrorrrrrr	�<module>s&