Exception: ActiveSupport::EncryptedFile::InvalidKeyLengthError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ActiveSupport::EncryptedFile::InvalidKeyLengthError
- Defined in:
- lib/active_support/encrypted_file.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidKeyLengthError
constructor
A new instance of InvalidKeyLengthError.
Constructor Details
#initialize ⇒ InvalidKeyLengthError
Returns a new instance of InvalidKeyLengthError.
24 25 26 |
# File 'lib/active_support/encrypted_file.rb', line 24 def initialize super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters." end |