Exception: SolidFlow::Errors::NonDeterministicWorkflowError

Inherits:
DeterminismError show all
Defined in:
lib/solid_flow/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expected:, actual:) ⇒ NonDeterministicWorkflowError

Returns a new instance of NonDeterministicWorkflowError.



25
26
27
28
29
# File 'lib/solid_flow/errors.rb', line 25

def initialize(expected:, actual:)
  @expected = expected
  @actual   = actual
  super("Workflow definition diverged from persisted graph signature (expected: #{expected}, actual: #{actual})")
end

Instance Attribute Details

#actualObject (readonly)

Returns the value of attribute actual.



23
24
25
# File 'lib/solid_flow/errors.rb', line 23

def actual
  @actual
end

#expectedObject (readonly)

Returns the value of attribute expected.



23
24
25
# File 'lib/solid_flow/errors.rb', line 23

def expected
  @expected
end