Exception: Bolt::InvalidParallelResult

Inherits:
Error
  • Object
show all
Defined in:
lib/bolt/error.rb

Instance Attribute Summary

Attributes inherited from Error

#details, #error_code, #issue_code, #kind

Instance Method Summary collapse

Methods inherited from Error

#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task

Constructor Details

#initialize(result_str, file, line) ⇒ InvalidParallelResult

Returns a new instance of InvalidParallelResult.



174
175
176
177
178
179
180
# File 'lib/bolt/error.rb', line 174

def initialize(result_str, file, line)
  super("Background block returned an invalid result: #{result_str}",
        'bolt/invalid-plan-result',
        { 'file' => file,
          'line' => line,
          'result_string' => result_str })
end