Exception: AMQ::Protocol::BadResponseError

Inherits:
Error
  • Object
show all
Defined in:
lib/amq/protocol/exceptions.rb

Constant Summary

Constants inherited from Error

Error::DEFAULT_MESSAGE

Instance Method Summary collapse

Methods inherited from Error

[], inherited, subclasses_with_values

Constructor Details

#initialize(argument, expected, actual) ⇒ BadResponseError

Returns a new instance of BadResponseError.



43
44
45
# File 'lib/amq/protocol/exceptions.rb', line 43

def initialize(argument, expected, actual)
  super("Argument #{argument} has to be #{expected.inspect}, was #{data.inspect}")
end