Exception: Rdkafka::ClosedProducerError
- Defined in:
- lib/rdkafka/error.rb
Overview
Error class for public producer method calls on a closed producer.
Instance Method Summary collapse
-
#initialize(method) ⇒ ClosedProducerError
constructor
A new instance of ClosedProducerError.
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 |