Exception: DatoDast::Errors::InvalidNodes

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

Constant Summary collapse

MESSAGE =
<<~MSG.strip
  A node class must have a 'render' instance method.

  The node objects for the following types are invalid:
MSG

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ InvalidNodes

Returns a new instance of InvalidNodes.



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

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