Exception: Puppet::Module::Plan::PlanNotFound Private
- Defined in:
- lib/puppet/module/plan.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from Error
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(plan_name, module_name) ⇒ PlanNotFound
constructor
private
A new instance of PlanNotFound.
Methods inherited from Error
Constructor Details
#initialize(plan_name, module_name) ⇒ PlanNotFound
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of PlanNotFound.
44 45 46 47 48 |
# File 'lib/puppet/module/plan.rb', line 44 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 |