Exception: Rdkafka::ClosedAdminError

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

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(method) ⇒ ClosedAdminError

Returns a new instance of ClosedAdminError.

Parameters:

  • method (Symbol)

    the method that was called



113
114
115
# File 'lib/rdkafka/error.rb', line 113

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