Exception: ActiveSupport::EncryptedConfiguration::InvalidContentError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | activesupport/lib/active_support/encrypted_configuration.rb |
Class Method Summary
- .new(content_path) ⇒ InvalidContentError constructor
Instance Method Summary
Constructor Details
.new(content_path) ⇒ InvalidContentError
# File 'activesupport/lib/active_support/encrypted_configuration.rb', line 37
def initialize(content_path) super "Invalid YAML in '#{content_path}'." end
Instance Method Details
#message
[ GitHub ]# File 'activesupport/lib/active_support/encrypted_configuration.rb', line 41
def cause.is_a?(Psych::SyntaxError) ? "#{super}\n\n #{cause.}" : super end