Exception: Rdkafka::ClosedProducerError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/rdkafka/error.rb

Overview

Error class for public producer method calls on a closed producer.

Instance Method Summary collapse

Constructor Details

#initialize(method) ⇒ ClosedProducerError

Returns a new instance of ClosedProducerError.



84
85
86
# File 'lib/rdkafka/error.rb', line 84

def initialize(method)
  super("Illegal call to #{method.to_s} on a closed producer")
end