Raised when an encrypted field cannot be encrypted or loaded safely.
The reason field is stable and matchable. The message tells an operator
what to restore or configure. Neither field contains plaintext, key
material, or a complete ciphertext.
Summary
Types
@type reason() :: :authentication_failed | :invalid_key | :invalid_key_source | :malformed_envelope | :missing_active_key_id | :missing_key_ring | {:environment_variable_missing, binary()} | {:invalid_key_context, :table | :field} | {:rotation_updated_multiple_rows, pos_integer()} | {:unknown_key_id, byte()} | {:unknown_version, byte()}