Exception: Bitfab::ReplayError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bitfab/replay.rb

Overview

Whole-run replay failure with every item collected before the run failed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, items:, test_run_id:, test_run_url:) ⇒ ReplayError

Returns a new instance of ReplayError.



31
32
33
34
35
36
# File 'lib/bitfab/replay.rb', line 31

def initialize(message, items:, test_run_id:, test_run_url:)
  super(message)
  @items = items
  @test_run_id = test_run_id
  @test_run_url = test_run_url
end

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items.



29
30
31
# File 'lib/bitfab/replay.rb', line 29

def items
  @items
end

#test_run_idObject (readonly)

Returns the value of attribute test_run_id.



29
30
31
# File 'lib/bitfab/replay.rb', line 29

def test_run_id
  @test_run_id
end

#test_run_urlObject (readonly)

Returns the value of attribute test_run_url.



29
30
31
# File 'lib/bitfab/replay.rb', line 29

def test_run_url
  @test_run_url
end