Exception: Bayarcash::TimeoutError
- Defined in:
- lib/bayarcash/errors.rb
Overview
Raised by the optional MakesHttpRequests#retry_until helper after a timeout.
Instance Attribute Summary collapse
-
#output ⇒ Array
readonly
The output collected before the timeout.
Instance Method Summary collapse
-
#initialize(output = []) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(output = []) ⇒ TimeoutError
Returns a new instance of TimeoutError.
44 45 46 47 |
# File 'lib/bayarcash/errors.rb', line 44 def initialize(output = []) @output = output super("Script timed out while waiting for the process to complete.") end |
Instance Attribute Details
#output ⇒ Array (readonly)
Returns the output collected before the timeout.
42 43 44 |
# File 'lib/bayarcash/errors.rb', line 42 def output @output end |