Exception: CemAcpt::TestRunner::RunnerStepError
- Inherits:
-
StandardError
- Object
- StandardError
- CemAcpt::TestRunner::RunnerStepError
- Defined in:
- lib/cem_acpt/test_runner/runner.rb
Overview
Error used to wrap fatal errors raised in Runner steps
Direct Known Subclasses
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(step, err) ⇒ RunnerStepError
constructor
A new instance of RunnerStepError.
Constructor Details
#initialize(step, err) ⇒ RunnerStepError
Returns a new instance of RunnerStepError.
16 17 18 19 20 |
# File 'lib/cem_acpt/test_runner/runner.rb', line 16 def initialize(step, err) @step = step super err set_backtrace err.backtrace if err.respond_to?(:backtrace) end |
Instance Attribute Details
#step ⇒ Object (readonly)
Returns the value of attribute step.
14 15 16 |
# File 'lib/cem_acpt/test_runner/runner.rb', line 14 def step @step end |