Exception: RabbitmqClient::InvalidCallback

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

Overview

Custom error thrown when an unsupported callback type is used

Instance Method Summary collapse

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