Exception: Qpid::TimeoutError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/qpid.rb

Instance Method Summary collapse

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