Exception: Hocon::ConfigError::ConfigNullError
- Inherits:
-
ConfigMissingError
- Object
- StandardError
- Hocon::ConfigError
- ConfigMissingError
- Hocon::ConfigError::ConfigNullError
- Defined in:
- lib/hocon/config_error.rb
Class Method Summary collapse
Methods inherited from Hocon::ConfigError
Constructor Details
This class inherits a constructor from Hocon::ConfigError
Class Method Details
.make_message(path, expected) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/hocon/config_error.rb', line 22 def self.(path, expected) if not expected.nil? "Configuration key '#{path}' is set to nil but expected #{expected}" else "Configuration key '#{path}' is nil" end end |