class Hocon::ConfigError::ConfigWrongTypeError

Private Class Methods

with_expected_actual(origin, path, expected, actual, cause = nil) click to toggle source
# File lib/hocon/config_error.rb, line 40
def self.with_expected_actual(origin, path, expected, actual, cause = nil)
  ConfigWrongTypeError.new(origin, "#{path} has type #{actual} rather than #{expected}", cause)
end