Class: DTK::DSL::Template::Parsing::ParsingError::MissingKeyValue

Inherits:
DTK::DSL::Template::Parsing::ParsingError show all
Defined in:
lib/dsl/template/parsing/parsing_error/subclasses.rb

Instance Method Summary collapse

Methods inherited from DTK::DSL::Template::Parsing::ParsingError

error_class?

Constructor Details

#initialize(key, opts = {}) ⇒ MissingKeyValue

Returns a new instance of MissingKeyValue.



22
23
24
25
# File 'lib/dsl/template/parsing/parsing_error/subclasses.rb', line 22

def initialize(key, opts = {})
  error_msg = "Missing value for key '#{key}'"
  super(error_msg, opts)
end