Exception: CemAcpt::TestRunner::RunnerStepError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cem_acpt/test_runner/runner.rb

Overview

Error used to wrap fatal errors raised in Runner steps

Direct Known Subclasses

RunnerProvisionError

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#stepObject (readonly)

Returns the value of attribute step.



14
15
16
# File 'lib/cem_acpt/test_runner/runner.rb', line 14

def step
  @step
end