PATH:
lib
/
python3.6
/
site-packages
/
josepy
"""JOSE errors.""" class Error(Exception): """Generic JOSE Error.""" class DeserializationError(Error): """JSON deserialization error.""" def __str__(self): return "Deserialization error: {0}".format( super().__str__()) class SerializationError(Error): """JSON serialization error.""" class UnrecognizedTypeError(DeserializationError): """Unrecognized type error. :ivar str typ: The unrecognized type of the JSON object. :ivar jobj: Full JSON object. """ def __init__(self, typ, jobj): self.typ = typ self.jobj = jobj super().__init__(str(self)) def __str__(self): return '{0} was not recognized, full message: {1}'.format( self.typ, self.jobj)
[-] jwk.py
[edit]
[-] jwa.py
[edit]
[-] magic_typing_test.py
[edit]
[-] test_util.py
[edit]
[-] interfaces_test.py
[edit]
[-] interfaces.py
[edit]
[-] b64.py
[edit]
[+]
__pycache__
[-] util_test.py
[edit]
[-] json_util_test.py
[edit]
[-] jwk_test.py
[edit]
[-] jws.py
[edit]
[-] errors.py
[edit]
[-] util.py
[edit]
[-] __init__.py
[edit]
[-] errors_test.py
[edit]
[+]
testdata
[-] magic_typing.py
[edit]
[-] b64_test.py
[edit]
[+]
..
[-] jws_test.py
[edit]
[-] jwa_test.py
[edit]
[-] json_util.py
[edit]