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
#add_filelineno, #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.
165 166 167 168 169 170 |
# File 'lib/bolt/error.rb', line 165 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 |