o
    5ÎhÑ  ã                   @   sj   G d d„ de ƒZG dd„ deƒZG dd„ deƒZG dd„ deeƒZG dd	„ d	eeƒZG d
d„ deeƒZ	dS )c                   @   ó   e Zd ZdZdS )Ú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   ú`/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/pyasn1/error.pyr   	   ó    r   c                   @   r   )Ú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      r
   r   c                   @   r   )Ú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      r
   r   c                   @   s   e Zd ZdZddd„ZdS )Ú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ƒrtj| g|j¢R Ž  t | |¡ d S ©N)Ú
isinstanceÚUnicodeErrorÚ__init__Úargsr   )ÚselfÚmessageÚunicode_errorr   r   r	   r   .   s   
zPyAsn1UnicodeError.__init__r   )r   r   r   r   r   r   r   r   r	   r   %   s    r   c                   @   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.
    Nr   r   r   r   r	   r   4   r
   r   c                   @   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.
    Nr   r   r   r   r	   r   @   r
   r   N)
Ú	Exceptionr   r   r   r   r   ÚUnicodeDecodeErrorr   ÚUnicodeEncodeErrorr   r   r   r   r	   Ú<module>   s   	