Skip to Content Skip to Search
v7.1.0
class ActiveSupport::EncryptedConfiguration::InvalidContentError < RuntimeError
Methods
M
N

Public class methods

new(content_path)

Permalink
Source code GitHub
# File activesupport/lib/active_support/encrypted_configuration.rb, line 37
def initialize(content_path)
  super "Invalid YAML in '#{content_path}'."
end

Public instance methods

message()

Permalink
Source code GitHub
# File activesupport/lib/active_support/encrypted_configuration.rb, line 41
def message
  cause.is_a?(Psych::SyntaxError) ? "#{super}\n\n  #{cause.message}" : super
end
Definition files