Exception: Wiq::ReportTimeoutError
- Defined in:
- lib/wiq/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#code, #details, #exit_code, #hint
Instance Method Summary collapse
-
#initialize(report, timeout) ⇒ ReportTimeoutError
constructor
A new instance of ReportTimeoutError.
Constructor Details
#initialize(report, timeout) ⇒ ReportTimeoutError
Returns a new instance of ReportTimeoutError.
143 144 145 146 147 148 149 150 |
# File 'lib/wiq/errors.rb', line 143 def initialize(report, timeout) super( "Report ##{report["id"]} did not finish within #{timeout}s (last status: #{report["status"]}).", code: "report_timeout", hint: "Pass --timeout to wait longer, or re-check later with `wiq reports show #{report["id"]}`.", details: report ) end |