HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/4965/lib/python3.12/site-packages/josepy/__pycache__/errors.cpython-312.pyc
�

N�h��l�dZddlmZGd�de�ZGd�de�ZGd�de�ZGd	�d
e�Zy)zJOSE errors.�)�Anyc��eZdZdZy)�ErrorzGeneric JOSE Error.N��__name__�
__module__�__qualname__�__doc__���}/build/snapcraft-certbot-c9561b03ef7f16aa90eb6754ca5f17a1/parts/certbot/install/lib/python3.12/site-packages/josepy/errors.pyrrs��rrc�(��eZdZdZdef�fd�Z�xZS)�DeserializationErrorzJSON deserialization error.�returnc�>��djt�|�	��S)NzDeserialization error: {0})�format�super�__str__)�self�	__class__s �r
rzDeserializationError.__str__
s���+�2�2�5�7�?�3D�E�Er)rrr	r
�strr�
__classcell__�rs@r
rr
s���%�F��F�Frrc��eZdZdZy)�SerializationErrorzJSON serialization error.Nrrrr
rrs��#rrc�<��eZdZdZdededdf�fd�Zdefd�Z�xZS)�UnrecognizedTypeErrorz~Unrecognized type error.

    :ivar str typ: The unrecognized type of the JSON object.
    :ivar jobj: Full JSON object.

    �typ�jobjrNc�R��||_||_t�|�
t	|��y)N)rrr�__init__r)rrrrs   �r
r!zUnrecognizedTypeError.__init__s"��������	�
����T��#rc�N�dj|j|j�S)Nz){0} was not recognized, full message: {1})rrr)rs r
rzUnrecognizedTypeError.__str__"s��:�A�A�$�(�(�D�I�I�V�Vr)	rrr	r
rrr!rrrs@r
rrs0����$�C�$�s�$�t�$�
W��WrrN)r
�typingr�	Exceptionrrrrrrr
�<module>r%s@�����I��F�5�F�$��$�W�0�Wr