Exception: Tapsoob::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- Tapsoob::BaseError
- Defined in:
- lib/tapsoob/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.
6 7 8 9 |
# File 'lib/tapsoob/errors.rb', line 6 def initialize(, opts = {}) @original_backtrace = opts.delete(:backtrace) super() end |
Instance Attribute Details
#original_backtrace ⇒ Object (readonly)
Returns the value of attribute original_backtrace.
4 5 6 |
# File 'lib/tapsoob/errors.rb', line 4 def original_backtrace @original_backtrace end |