Exception: Rdkafka::ClosedConsumerError
- Defined in:
- lib/rdkafka/error.rb
Overview
Error class for public consumer method calls on a closed consumer.
Instance Method Summary collapse
-
#initialize(method) ⇒ ClosedConsumerError
constructor
A new instance of ClosedConsumerError.
Constructor Details
#initialize(method) ⇒ ClosedConsumerError
Returns a new instance of ClosedConsumerError.
77 78 79 |
# File 'lib/rdkafka/error.rb', line 77 def initialize(method) super("Illegal call to #{method.to_s} on a closed consumer") end |