Exception: AMQ::Client::UnknownExchangeTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- AMQ::Client::UnknownExchangeTypeError
- Defined in:
- lib/amq/client/exceptions.rb
Constant Summary collapse
- BUILTIN_TYPES =
[:fanout, :direct, :topic, :headers].freeze
Instance Method Summary collapse
-
#initialize(types, given) ⇒ UnknownExchangeTypeError
constructor
A new instance of UnknownExchangeTypeError.
Constructor Details
#initialize(types, given) ⇒ UnknownExchangeTypeError
Returns a new instance of UnknownExchangeTypeError.
99 100 101 |
# File 'lib/amq/client/exceptions.rb', line 99 def initialize(types, given) super("#{given.inspect} exchange type is unknown. Standard types are #{BUILTIN_TYPES.inspect}, custom exchange types must begin with x-, for example: x-recent-history") end |