Exception: Laser::Analysis::ControlFlow::Simulation::ExitedAbnormally

Inherits:
StandardError show all
Defined in:
lib/laser/analysis/control_flow/simulation.rb

Constant Summary

Constant Summary

Constants inherited from Exception

Exception::BT_FAILURE_MESSAGE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#backtrace, #set_backtrace, #to_s

Constructor Details

#initialize(error) ⇒ ExitedAbnormally

Returns a new instance of ExitedAbnormally



18
19
20
# File 'lib/laser/analysis/control_flow/simulation.rb', line 18

def initialize(error)
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error



17
18
19
# File 'lib/laser/analysis/control_flow/simulation.rb', line 17

def error
  @error
end