Exception: Bolt::InvalidPlanResult
- Defined in:
- lib/bolt/error.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(plan_name, result_str) ⇒ InvalidPlanResult
constructor
A new instance of InvalidPlanResult.
Methods inherited from Error
#msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(plan_name, result_str) ⇒ InvalidPlanResult
Returns a new instance of InvalidPlanResult.
116 117 118 119 120 121 |
# File 'lib/bolt/error.rb', line 116 def initialize(plan_name, result_str) super("Plan #{plan_name} returned an invalid result: #{result_str}", 'bolt/invalid-plan-result', { 'plan_name' => plan_name, 'result_string' => result_str }) end |