Exception: Chamber::Errors::MissingSetting
- Inherits:
-
KeyError
- Object
- KeyError
- Chamber::Errors::MissingSetting
- Defined in:
- lib/chamber/errors/missing_setting.rb
Instance Method Summary collapse
-
#initialize(missing_key, all_keys) ⇒ MissingSetting
constructor
A new instance of MissingSetting.
Constructor Details
#initialize(missing_key, all_keys) ⇒ MissingSetting
Returns a new instance of MissingSetting.
6 7 8 9 10 |
# File 'lib/chamber/errors/missing_setting.rb', line 6 def initialize(missing_key, all_keys) super(<<~HEREDOC.chomp) You attempted to access setting '#{all_keys.join(':')}' but '#{missing_key}' did not exist. HEREDOC end |