class
ActiveSupport::MessageEncryptor::InvalidMessage
- ActiveSupport::MessageEncryptor::InvalidMessage
- Exception
- Reference
- Object
Overview
Raised when a message cannot be decrypted: wrong key, unknown envelope, truncated authentication tag, tampered ciphertext, or a payload the serializer does not recognise.
The message never carries the key or the plaintext.