Exception: DatoDast::Errors::MissingRenderFunction

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dato_dast/errors/missing_render_function.rb

Constant Summary collapse

MESSAGE =
<<~MSG.strip
  A node class provided for an item must have a 'render' method.

  The node object for the following item type is invalid:
MSG

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ MissingRenderFunction

Returns a new instance of MissingRenderFunction.



10
11
12
# File 'lib/dato_dast/errors/missing_render_function.rb', line 10

def initialize(keys)
  super(MESSAGE + " " + keys.join(", "))
end