Exception: Puppet::Module::Task::TaskNotFound

Inherits:
Error show all
Defined in:
lib/puppet/module/task.rb

Instance Attribute Summary

Attributes inherited from Error

#details, #kind

Attributes inherited from Error

#original

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(task_name, module_name) ⇒ TaskNotFound


40
41
42
43
44
# File 'lib/puppet/module/task.rb', line 40

def initialize(task_name, module_name)
  msg = _("Task %{task_name} not found in module %{module_name}.") %
    {task_name: task_name, module_name: module_name}
  super(msg, 'puppet.tasks/task-not-found', { 'name' => task_name })
end