DeserializeError#

exception safir.redis.DeserializeError(msg, key, error)#

Raised when a stored Pydantic object in Redis cannot be decoded (and possibly decrypted) or deserialized.

Parameters:
  • msg (str) – A description of the error.

  • key (str) – The key of the object that could not be deserialized.

  • error (str) – The exception’s message from the deserialization attempt.