Exception: AMQ::Protocol::BadResponseError
- Defined in:
- lib/amq/protocol/client.rb
Constant Summary
Constants inherited from Error
Instance Method Summary collapse
-
#initialize(argument, expected, actual) ⇒ BadResponseError
constructor
A new instance of BadResponseError.
Methods inherited from Error
[], inherited, subclasses_with_values
Constructor Details
#initialize(argument, expected, actual) ⇒ BadResponseError
Returns a new instance of BadResponseError.
89 90 91 |
# File 'lib/amq/protocol/client.rb', line 89 def initialize(argument, expected, actual) super("Argument #{argument} has to be #{expected.inspect}, was #{data.inspect}") end |