Exception: ActiveSupport::EncryptedConfiguration::InvalidKeyError
- Inherits:
- 
      RuntimeError
      
        - Object
- RuntimeError
- ActiveSupport::EncryptedConfiguration::InvalidKeyError
 
- Defined in:
- activesupport/lib/active_support/encrypted_configuration.rb
Instance Method Summary collapse
- 
  
    
      #initialize(content_path, key)  ⇒ InvalidKeyError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InvalidKeyError. 
Constructor Details
#initialize(content_path, key) ⇒ InvalidKeyError
Returns a new instance of InvalidKeyError.
| 47 48 49 | # File 'activesupport/lib/active_support/encrypted_configuration.rb', line 47 def initialize(content_path, key) super "Key '#{key}' is invalid, it must respond to '#to_sym' from configuration in '#{content_path}'." end |