Exception: AMQP::IncompatibleOptionsError
- Defined in:
- lib/amqp/exceptions.rb
Overview
Raised when queue (or exchange) declaration fails because another queue with the same name but different attributes already exists in the channel object cache.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(name, opts_1, opts_2) ⇒ IncompatibleOptionsError
constructor
A new instance of IncompatibleOptionsError.
Constructor Details
#initialize(name, opts_1, opts_2) ⇒ IncompatibleOptionsError
Returns a new instance of IncompatibleOptionsError.
65 66 67 |
# File 'lib/amqp/exceptions.rb', line 65 def initialize(name, opts_1, opts_2) super("There is already an instance called #{name} with options #{opts_1.inspect}, you can't define the same instance with different options (#{opts_2.inspect})!") end |