Exception: Temporalio::Error::ActivityError

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

Overview

Error raised on activity failure.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#activity_idString (readonly)

Returns Activity ID.

Returns:

  • (String)

    Activity ID.



156
157
158
# File 'lib/temporalio/error/failure.rb', line 156

def activity_id
  @activity_id
end

#activity_typeString (readonly)

Returns Activity type name.

Returns:

  • (String)

    Activity type name.



154
155
156
# File 'lib/temporalio/error/failure.rb', line 154

def activity_type
  @activity_type
end

#identityString (readonly)

Returns Client/worker identity.

Returns:

  • (String)

    Client/worker identity.



152
153
154
# File 'lib/temporalio/error/failure.rb', line 152

def identity
  @identity
end

#retry_stateRetryState? (readonly)

Returns Retry state.

Returns:



158
159
160
# File 'lib/temporalio/error/failure.rb', line 158

def retry_state
  @retry_state
end

#scheduled_event_idInteger (readonly)

Returns Scheduled event ID for this activity.

Returns:

  • (Integer)

    Scheduled event ID for this activity.



148
149
150
# File 'lib/temporalio/error/failure.rb', line 148

def scheduled_event_id
  @scheduled_event_id
end

#started_event_idInteger (readonly)

Returns Started event ID for this activity.

Returns:

  • (Integer)

    Started event ID for this activity.



150
151
152
# File 'lib/temporalio/error/failure.rb', line 150

def started_event_id
  @started_event_id
end