Exception: DatoDast::Errors::InvalidItemsConfiguration
- Inherits:
-
StandardError
- Object
- StandardError
- DatoDast::Errors::InvalidItemsConfiguration
- Defined in:
- lib/dato_dast/errors/invalid_items_configuration.rb
Constant Summary collapse
- MESSAGE =
"An item configuration requires exactly one of the following keys:\n- \"node\"\n- \"render_value\"\n- \"structure\"\n\nThe following configurations are invalid:\n".strip
Instance Method Summary collapse
-
#initialize(keys) ⇒ InvalidItemsConfiguration
constructor
A new instance of InvalidItemsConfiguration.
Constructor Details
#initialize(keys) ⇒ InvalidItemsConfiguration
13 14 15 |
# File 'lib/dato_dast/errors/invalid_items_configuration.rb', line 13 def initialize(keys) super(MESSAGE + " " + keys.join(", ")) end |