Exception: Stacker::Stack::TemplateDoesNotExistError

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TemplateDoesNotExistError

Returns a new instance of TemplateDoesNotExistError.



41
42
43
# File 'lib/stacker/stack/errors.rb', line 41

def initialize(name)
  @name = name
end

Instance Method Details

#messageObject



45
46
47
# File 'lib/stacker/stack/errors.rb', line 45

def message
  "No template found with name '#{@name}'"
end