Exception: Dexc::ExceptionWrapper
- Defined in:
- lib/dexc.rb
Overview
See MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS, Test::Unit::ErrorHandler::PASS_THROUGH_EXCEPTIONS to know why Interrupt is used
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
readonly
Returns the value of attribute wrapped_exception.
Instance Method Summary collapse
-
#initialize(wrapped_exception) ⇒ ExceptionWrapper
constructor
A new instance of ExceptionWrapper.
Constructor Details
#initialize(wrapped_exception) ⇒ ExceptionWrapper
Returns a new instance of ExceptionWrapper.
38 39 40 41 |
# File 'lib/dexc.rb', line 38 def initialize(wrapped_exception) super(nil) @wrapped_exception = wrapped_exception end |
Instance Attribute Details
#wrapped_exception ⇒ Object (readonly)
Returns the value of attribute wrapped_exception.
36 37 38 |
# File 'lib/dexc.rb', line 36 def wrapped_exception @wrapped_exception end |