Exception: Tapsoob::BaseError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, opts = {}) ⇒ BaseError

Returns a new instance of BaseError.



6
7
8
9
# File 'lib/tapsoob/errors.rb', line 6

def initialize(message, opts = {})
  @original_backtrace = opts.delete(:backtrace)
  super(message)
end

Instance Attribute Details

#original_backtraceObject (readonly)

Returns the value of attribute original_backtrace.



4
5
6
# File 'lib/tapsoob/errors.rb', line 4

def original_backtrace
  @original_backtrace
end