Your IP : 3.135.249.58


Current Path : /opt/imunify360/venv/lib64/python3.11/site-packages/pyasn1/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/pyasn1/__pycache__/error.cpython-311.pyc

�

<�Qg�����Gd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�d	e��ZGd
�dee��ZGd�d
ee��Z	Gd�dee
��ZdS)c�.�eZdZdZd�Zed���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

    c�"�||_||_dS�N)�_args�_kwargs)�self�args�kwargss   �l/builddir/build/BUILD/imunify360-venv-2.5.0/opt/imunify360/venv/lib/python3.11/site-packages/pyasn1/error.py�__init__zPyAsn1Error.__init__s����
������c�8�|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)rs rrzPyAsn1Error.contexts���|���	�2�.�.�.r
N)�__name__�
__module__�__qualname__�__doc__r�propertyr�r
rrr	sH��������"����/�/��X�/�/�/r
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�rrrrrr
rrr/s���������r
rc��eZdZdZdS)�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error

    The `SubstrateUnderrunError` exception indicates insufficient serialised
    data on input of a de-serialization codec.
    Nrrr
rrr:����������r
rc��eZdZdZdS)�EndOfStreamErrorz�ASN.1 data structure deserialization error

    The `EndOfStreamError` exception indicates the condition of the input
    stream has been closed.
    Nrrr
rrrBrr
rc��eZdZdZdS)�UnsupportedSubstrateErrorz2Unsupported substrate type to parse as ASN.1 data.Nrrr
rr r Js������<�<�<�<r
r c��eZdZdZdd�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��t|t��rtj|g|j�R�t�||��dSr)�
isinstance�UnicodeErrorrr	r)r�message�
unicode_errors   rrzPyAsn1UnicodeError.__init__WsL���m�\�2�2�	=��!�$�<��);�<�<�<�<����T�7�+�+�+�+�+r
r)rrrrrrr
rr"r"Ns2��������,�,�,�,�,�,r
r"c��eZdZdZdS)�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.
    Nrrr
rr)r)]����������r
r)c��eZdZdZdS)�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.
    Nrrr
rr,r,ir*r
r,N)�	Exceptionrrrrr r%r"�UnicodeDecodeErrorr)�UnicodeEncodeErrorr,rr
r�<module>r0sk��#/�#/�#/�#/�#/�)�#/�#/�#/�L�����;���������[���������-����=�=�=�=�=��=�=�=�,�,�,�,�,��l�,�,�,�	�	�	�	�	�1�3E�	�	�	�	�	�	�	�	�1�3E�	�	�	�	�	r

?>