Exception: Hocon::ConfigError::ConfigBadPathError

Inherits:
Hocon::ConfigError show all
Defined in:
lib/hocon/config_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(origin, path, message, cause = nil) ⇒ ConfigBadPathError

Returns a new instance of ConfigBadPathError.



56
57
58
59
# File 'lib/hocon/config_error.rb', line 56

def initialize(origin, path, message, cause = nil)
  error_message = !path.nil? ? "Invalid path '#{path}': #{message}" : message
  super(origin, error_message, cause)
end