Exception: DatoDast::Errors::InvalidMarksConfiguration

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

Constant Summary collapse

MESSAGE =
<<~MSG.strip
  A mark configuration requires only the "tag" key.

  The following mark configurations are invalid:
MSG

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ InvalidMarksConfiguration

Returns a new instance of InvalidMarksConfiguration.



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

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