Exception: Maglev::Errors::UnknownSetting
- Inherits:
-
StandardError
- Object
- StandardError
- Maglev::Errors::UnknownSetting
- Defined in:
- lib/maglev/errors.rb
Instance Method Summary collapse
-
#initialize(section_id, block_id, setting_id) ⇒ UnknownSetting
constructor
A new instance of UnknownSetting.
Constructor Details
#initialize(section_id, block_id, setting_id) ⇒ UnknownSetting
Returns a new instance of UnknownSetting.
9 10 11 12 |
# File 'lib/maglev/errors.rb', line 9 def initialize(section_id, block_id, setting_id) key = [section_id, block_id].compact.join('.') super("[#{key}] The #{setting_id} setting is undeclared OR its type is unknown.") end |