Exception: Puppet::Module::Plan::PlanNotFound

Inherits:
Error show all
Defined in:
lib/puppet/module/plan.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(plan_name, module_name) ⇒ PlanNotFound


39
40
41
42
43
# File 'lib/puppet/module/plan.rb', line 39

def initialize(plan_name, module_name)
  msg = _("Plan %{plan_name} not found in module %{module_name}.") %
    {plan_name: plan_name, module_name: module_name}
  super(msg, 'puppet.plans/plan-not-found', { 'name' => plan_name })
end