CasperSecurity

Current Path : /lib/python3/dist-packages/josepy/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/josepy/__pycache__/errors.cpython-310.pyc

o

h9Ra1�@sTdZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZdS)zJOSE errors.�)�Anyc@�eZdZdZdS)�ErrorzGeneric JOSE Error.N��__name__�
__module__�__qualname__�__doc__�r
r
�//usr/lib/python3/dist-packages/josepy/errors.pyr�rcs&eZdZdZdef�fdd�Z�ZS)�DeserializationErrorzJSON deserialization error.�returncsd�t����S)NzDeserialization error: {0})�format�super�__str__��self��	__class__r
rr��zDeserializationError.__str__)rrrr	�strr�
__classcell__r
r
rrr
	sr
c@r)�SerializationErrorzJSON serialization error.Nrr
r
r
rrrrcs<eZdZdZdededdf�fdd�Zdefdd	�Z�ZS)
�UnrecognizedTypeErrorz~Unrecognized type error.

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

    �typ�jobjrNcs ||_||_t��t|��dS)N)rrr�__init__r)rrrrr
rrszUnrecognizedTypeError.__init__cCsd�|j|j�S)Nz){0} was not recognized, full message: {1})rrrrr
r
rr"rzUnrecognizedTypeError.__str__)	rrrr	rrrrrr
r
rrrsrN)r	�typingr�	Exceptionrr
rrr
r
r
r�<module>s
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY