Exception: KafkaSyrup::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kafka_syrup/errors.rb

Instance Method Summary collapse

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