class Hocon::ConfigError::ConfigNullError

Private Class Methods

make_message(path, expected) click to toggle source
# File lib/hocon/config_error.rb, line 22
def self.make_message(path, expected)
  if not expected.nil?
    "Configuration key '#{path}' is set to nil but expected #{expected}"
  else
    "Configuration key '#{path}' is nil"
  end
end