Exception: RabbitmqClient::InvalidCallback
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RabbitmqClient::InvalidCallback
- Defined in:
- lib/rabbitmq_client/callback.rb
Overview
Custom error thrown when an unsupported callback type is used
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidCallback
constructor
A new instance of InvalidCallback.
Constructor Details
#initialize(name) ⇒ InvalidCallback
Returns a new instance of InvalidCallback.
6 7 8 |
# File 'lib/rabbitmq_client/callback.rb', line 6 def initialize(name) super("The Callback '#{name}' is an invalid callback and cannot be used") end |