Exception: Temporalio::Error::WorkflowAlreadyStartedError

Inherits:
Failure show all
Defined in:
lib/temporalio/error/failure.rb

Overview

Error raised by a client or workflow when a workflow execution has already started.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#run_idString (readonly)

Returns Run ID of the already-started workflow if this was raised by the client.

Returns:

  • (String)

    Run ID of the already-started workflow if this was raised by the client.



21
22
23
# File 'lib/temporalio/error/failure.rb', line 21

def run_id
  @run_id
end

#workflow_idString (readonly)

Returns ID of the already-started workflow.

Returns:

  • (String)

    ID of the already-started workflow.



15
16
17
# File 'lib/temporalio/error/failure.rb', line 15

def workflow_id
  @workflow_id
end

#workflow_typeString (readonly)

Returns Workflow type name of the already-started workflow.

Returns:

  • (String)

    Workflow type name of the already-started workflow.



18
19
20
# File 'lib/temporalio/error/failure.rb', line 18

def workflow_type
  @workflow_type
end