Exception: Hocon::ConfigError
- Inherits:
-
StandardError
- Object
- StandardError
- Hocon::ConfigError
- Defined in:
- lib/hocon/config_error.rb
Direct Known Subclasses
ConfigBadPathError, ConfigBugOrBrokenError, ConfigIOError, ConfigMissingError, ConfigParseError, ConfigWrongTypeError
Defined Under Namespace
Classes: ConfigBadPathError, ConfigBugOrBrokenError, ConfigIOError, ConfigMissingError, ConfigNotResolvedError, ConfigNullError, ConfigParseError, ConfigWrongTypeError, UnresolvedSubstitutionError
Instance Method Summary collapse
-
#initialize(origin, message, cause) ⇒ ConfigError
constructor
A new instance of ConfigError.
Constructor Details
#initialize(origin, message, cause) ⇒ ConfigError
Returns a new instance of ConfigError.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/hocon/config_error.rb', line 6 def initialize(origin, , cause) msg = if origin.nil? else "#{origin.description}: #{}" end super(msg) @origin = origin @cause = cause end |