Exception: Rdkafka::ClosedConsumerError

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

Overview

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

Instance Method Summary collapse

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