Exception: Temporalio::Error::ActivityAlreadyStartedError

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

Overview

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

WARNING: Standalone Activities are experimental.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#activity_idString (readonly)

Returns ID of the already-started activity.

Returns:

  • (String)

    ID of the already-started activity.



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

def activity_id
  @activity_id
end

#activity_run_idString? (readonly)

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

Returns:

  • (String, nil)

    Run ID of the already-started activity if known.



43
44
45
# File 'lib/temporalio/error/failure.rb', line 43

def activity_run_id
  @activity_run_id
end

#activity_typeString (readonly)

Returns Activity type name of the already-started activity.

Returns:

  • (String)

    Activity type name of the already-started activity.



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

def activity_type
  @activity_type
end