Exception: AMQ::Protocol::BadResponseError
- Inherits:
-
Error
- Object
- StandardError
- Error
- AMQ::Protocol::BadResponseError
- Defined in:
- lib/amq/protocol/exceptions.rb
Constant Summary
Constant Summary
Constants inherited from Error
Instance Method Summary (collapse)
-
- (BadResponseError) initialize(argument, expected, actual)
constructor
A new instance of BadResponseError.
Methods inherited from Error
[], inherited, subclasses_with_values
Constructor Details
- (BadResponseError) initialize(argument, expected, actual)
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 |