Exception: Dexc::ExceptionWrapper

Inherits:
NoMemoryError
  • Object
show all
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

Instance Method Summary collapse

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_exceptionObject (readonly)

Returns the value of attribute wrapped_exception.



36
37
38
# File 'lib/dexc.rb', line 36

def wrapped_exception
  @wrapped_exception
end