Exception: RabbitmqClient::EmptyPlugin
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RabbitmqClient::EmptyPlugin
- Defined in:
- lib/rabbitmq_client/plugin.rb
Overview
Custom Error thrown in case of defining a plugin without any callbacks
Instance Method Summary collapse
-
#initialize(name) ⇒ EmptyPlugin
constructor
A new instance of EmptyPlugin.
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 |