Exception: DatoDast::Errors::InvalidNodes
- Inherits:
-
StandardError
- Object
- StandardError
- DatoDast::Errors::InvalidNodes
- 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
-
#initialize(keys) ⇒ InvalidNodes
constructor
A new instance of InvalidNodes.
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 |