Exception: KafkaError
- Inherits:
-
StandardError
- Object
- StandardError
- KafkaError
- Defined in:
- lib/jruby-kafka/error.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ KafkaError
constructor
A new instance of KafkaError.
Constructor Details
#initialize(object) ⇒ KafkaError
Returns a new instance of KafkaError.
6 7 8 |
# File 'lib/jruby-kafka/error.rb', line 6 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
4 5 6 |
# File 'lib/jruby-kafka/error.rb', line 4 def object @object end |