Exception: SolidFlow::Errors::NonDeterministicWorkflowError
- Inherits:
-
DeterminismError
- Object
- StandardError
- SolidFlowError
- DeterminismError
- SolidFlow::Errors::NonDeterministicWorkflowError
- Defined in:
- lib/solid_flow/errors.rb
Instance Attribute Summary collapse
-
#actual ⇒ Object
readonly
Returns the value of attribute actual.
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
Instance Method Summary collapse
-
#initialize(expected:, actual:) ⇒ NonDeterministicWorkflowError
constructor
A new instance of NonDeterministicWorkflowError.
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
#actual ⇒ Object (readonly)
Returns the value of attribute actual.
23 24 25 |
# File 'lib/solid_flow/errors.rb', line 23 def actual @actual end |
#expected ⇒ Object (readonly)
Returns the value of attribute expected.
23 24 25 |
# File 'lib/solid_flow/errors.rb', line 23 def expected @expected end |