Exception: ActiveSupport::EncryptedFile::InvalidKeyLengthError

Inherits:
RuntimeError
  • Object
show all
Defined in:
activesupport/lib/active_support/encrypted_file.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidKeyLengthError

Returns a new instance of InvalidKeyLengthError.



24
25
26
# File 'activesupport/lib/active_support/encrypted_file.rb', line 24

def initialize
  super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters."
end