Exception: Bolt::FutureTimeoutError
- Defined in:
- lib/bolt/error.rb
Instance Attribute Summary
Attributes inherited from Error
#details, #error_code, #issue_code, #kind
Instance Method Summary collapse
-
#initialize(name, timeout) ⇒ FutureTimeoutError
constructor
A new instance of FutureTimeoutError.
Methods inherited from Error
#add_filelineno, #msg, #to_h, #to_json, #to_puppet_error, unknown_plan, unknown_task
Constructor Details
#initialize(name, timeout) ⇒ FutureTimeoutError
Returns a new instance of FutureTimeoutError.
109 110 111 112 113 114 115 |
# File 'lib/bolt/error.rb', line 109 def initialize(name, timeout) details = { 'future' => name } = "Future '#{name}' timed out after #{timeout} seconds." super(, 'bolt/future-timeout-error', details) end |