Class: Temporalio::Error::ActivityAlreadyStartedError

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

Overview

Error raised by a client when a standalone activity execution has already started.

Instance Attribute Summary collapse

Instance Attribute Details

#activity_id ⇒ String (readonly)

Returns ID of the already-started activity.

Returns:

  • (String) —

    ID of the already-started activity.



35
36
37
# File 'lib/temporalio/error/failure.rb', line 35

def activity_id
  @activity_id
end

#activity_run_id ⇒ String? (readonly)

Returns Run ID of the already-started activity if known.

Returns:

  • (String, nil) —

    Run ID of the already-started activity if known.



41
42
43
# File 'lib/temporalio/error/failure.rb', line 41

def activity_run_id
  @activity_run_id
end

#activity_type ⇒ String (readonly)

Returns Activity type name of the already-started activity.

Returns:

  • (String) —

    Activity type name of the already-started activity.



38
39
40
# File 'lib/temporalio/error/failure.rb', line 38

def activity_type
  @activity_type
end