Exception: RabbitmqClient::EmptyPlugin

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rabbitmq_client/plugin.rb

Overview

Custom Error thrown in case of defining a plugin without any callbacks

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ EmptyPlugin

Returns a new instance of EmptyPlugin.



8
9
10
# File 'lib/rabbitmq_client/plugin.rb', line 8

def initialize(name)
  super("The Plugin '#{name}' is empty")
end