HOME


Mini Shell 1.0
DIR: /snap/certbot/4482/lib64/python3.12/site-packages/josepy/__pycache__/
Upload File :
Current File : //snap/certbot/4482/lib64/python3.12/site-packages/josepy/__pycache__/errors.cpython-312.pyc
�

�S�g��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-29b1212f749eeba2f1dece1adfe9a83a/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