Exception: Stacker::Stack::TemplateSyntaxError

Inherits:
Error
  • Object
show all
Defined in:
lib/stacker/stack/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ TemplateSyntaxError

Returns a new instance of TemplateSyntaxError.



14
15
16
# File 'lib/stacker/stack/errors.rb', line 14

def initialize(path)
  @path = path
end

Instance Method Details

#messageObject



18
19
20
21
22
23
24
# File 'lib/stacker/stack/errors.rb', line 18

def message
  <<END_MSG
Syntax error(s) in template.
#{path}:
#{errors}
END_MSG
end