Exception: RabbitmqClient::ExchangeRegistry::ExchangeNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rabbitmq_client/exchange_registry.rb

Overview

Custom Eroor thrown when trying to find unkown exchange

Instance Method Summary collapse

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