Exception: Qpid::TimeoutError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Qpid::TimeoutError
- Defined in:
- lib/qpid.rb
Instance Method Summary collapse
-
#initialize(task, err = nil) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(task, err = nil) ⇒ TimeoutError
Returns a new instance of TimeoutError.
41 42 43 |
# File 'lib/qpid.rb', line 41 def initialize(task, err=nil) super("While #{task}, timed out waiting for a resopnse" + (err ? " (Underlying error: #{err})" : '')) end |