Exception: Test::Unit::ProxyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/test/unit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ex) ⇒ ProxyError

Returns a new instance of ProxyError.



843
844
845
846
# File 'lib/test/unit.rb', line 843

def initialize(ex)
  @message = ex.message
  @backtrace = ex.backtrace
end

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace



848
849
850
# File 'lib/test/unit.rb', line 848

def backtrace
  @backtrace
end

#messageObject

Returns the value of attribute message



848
849
850
# File 'lib/test/unit.rb', line 848

def message
  @message
end