Exception: Taps::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Taps::BaseError
- Defined in:
- lib/taps/errors.rb
Direct Known Subclasses
CorruptedData, DuplicatePrimaryKeyError, InvalidData, NotImplemented
Instance Attribute Summary collapse
-
#original_backtrace ⇒ Object
readonly
Returns the value of attribute original_backtrace.
Instance Method Summary collapse
-
#initialize(message, opts = {}) ⇒ BaseError
constructor
A new instance of BaseError.
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(, opts={}) @original_backtrace = opts.delete(:backtrace) super() end |
Instance Attribute Details
#original_backtrace ⇒ Object (readonly)
Returns the value of attribute original_backtrace.
3 4 5 |
# File 'lib/taps/errors.rb', line 3 def original_backtrace @original_backtrace end |