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