Exception: Qpid::BadContentError

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

Instance Method Summary collapse

Constructor Details

#initialize(task, resp, err = nil) ⇒ BadContentError

Returns a new instance of BadContentError.



35
36
37
# File 'lib/qpid.rb', line 35

def initialize(task, resp, err=nil)
  super("While #{task}, got unexpected data: #{ resp ? resp : 'nil' }" +  (err ? " (Underlying error: #{err})" : ''))
end