Errors

JOSE errors.

exception josepy.errors.Error[source]

Bases: Exception

Generic JOSE Error.

exception josepy.errors.DeserializationError[source]

Bases: josepy.errors.Error

JSON deserialization error.

exception josepy.errors.SerializationError[source]

Bases: josepy.errors.Error

JSON serialization error.

exception josepy.errors.UnrecognizedTypeError(typ: str, jobj: Any)[source]

Bases: josepy.errors.DeserializationError

Unrecognized type error.

Variables:
  • typ (str) – The unrecognized type of the JSON object.
  • jobj – Full JSON object.