Exception: KafkaSyrup::Error
- Inherits:
-
StandardError
- Object
- StandardError
- KafkaSyrup::Error
- Defined in:
- lib/kafka_syrup/errors.rb
Direct Known Subclasses
BrokerNotFound, KafkaResponseError, NoBrokers, NotRegistered, PartitionNotFound, SocketReadError, TopicNotFound
Instance Method Summary collapse
-
#initialize(e = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(e = nil) ⇒ Error
Returns a new instance of Error.
3 4 5 6 |
# File 'lib/kafka_syrup/errors.rb', line 3 def initialize(e = nil) super set_backtrace e.backtrace if e.is_a?(StandardError) end |