Exception: RabbitmqClient::ExchangeRegistry::ExchangeNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- RabbitmqClient::ExchangeRegistry::ExchangeNotFound
- Defined in:
- lib/rabbitmq_client/exchange_registry.rb
Overview
Custom Eroor thrown when trying to find unkown exchange
Instance Method Summary collapse
-
#initialize(name) ⇒ ExchangeNotFound
constructor
A new instance of ExchangeNotFound.
Constructor Details
#initialize(name) ⇒ ExchangeNotFound
Returns a new instance of ExchangeNotFound.
10 11 12 |
# File 'lib/rabbitmq_client/exchange_registry.rb', line 10 def initialize(name) super("The Exchange '#{name}' cannot be found") end |