Exception: ActiveSupport::EncryptedFile::InvalidKeyLengthError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ActiveSupport::EncryptedFile::InvalidKeyLengthError
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/encrypted_file.rb', line 24 def initialize super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters." end |