Exception: DatoDast::Errors::FieldMissing
- Inherits:
-
StandardError
- Object
- StandardError
- DatoDast::Errors::FieldMissing
- Defined in:
- lib/dato_dast/errors/field_missing.rb
Constant Summary collapse
- MESSAGE =
<<~MSG.strip A structure type of 'field' requires the block to have the specified field. The following configuration is invalid: MSG
Instance Method Summary collapse
-
#initialize(item_type) ⇒ FieldMissing
constructor
A new instance of FieldMissing.
Constructor Details
#initialize(item_type) ⇒ FieldMissing
Returns a new instance of FieldMissing.
10 11 12 |
# File 'lib/dato_dast/errors/field_missing.rb', line 10 def initialize(item_type) super(MESSAGE + " " + item_type) end |