Exception: Taps::BaseError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BaseError.



5
6
7
8
# File 'lib/taps/errors.rb', line 5

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.



3
4
5
# File 'lib/taps/errors.rb', line 3

def original_backtrace
  @original_backtrace
end