HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //proc/self/root/usr/lib/python3.9/site-packages/josepy/__pycache__/errors.cpython-39.pyc
a

�Bg�@sTdZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZdS)zJOSE errors.�)�Anyc@seZdZdZdS)�ErrorzGeneric JOSE Error.N��__name__�
__module__�__qualname__�__doc__�r	r	�1/usr/lib/python3.9/site-packages/josepy/errors.pyrsrcs&eZdZdZed��fdd�Z�ZS)�DeserializationErrorzJSON deserialization error.��returncsd�t����S)NzDeserialization error: {0})�format�super�__str__��self��	__class__r	r
rszDeserializationError.__str__)rrrr�strr�
__classcell__r	r	rr
r	src@seZdZdZdS)�SerializationErrorzJSON serialization error.Nrr	r	r	r
rsrcs8eZdZdZeedd��fdd�Zed�dd�Z�ZS)	�UnrecognizedTypeErrorz~Unrecognized type error.

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

    N)�typ�jobjr
cs ||_||_t��t|��dS)N)rrr�__init__r)rrrrr	r
rszUnrecognizedTypeError.__init__rcCsd�|j|j�S)Nz){0} was not recognized, full message: {1})rrrrr	r	r
r!szUnrecognizedTypeError.__str__)	rrrrrrrrrr	r	rr
rsrN)r�typingr�	Exceptionrrrrr	r	r	r
�<module>s