Exception: DatoDast::Errors::InvalidItemsConfiguration

Inherits:
StandardError
  • Object
show all
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

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