Class: Temporalio::Error::ActivityError

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

Overview

Error raised on activity failure.

Instance Attribute Summary collapse

Instance Attribute Details

#activity_id ⇒ String (readonly)

Returns Activity ID.

Returns:

  • (String) —

    Activity ID.



210
211
212
# File 'lib/temporalio/error/failure.rb', line 210

def activity_id
  @activity_id
end

#activity_type ⇒ String (readonly)

Returns Activity type name.

Returns:

  • (String) —

    Activity type name.



208
209
210
# File 'lib/temporalio/error/failure.rb', line 208

def activity_type
  @activity_type
end

#identity ⇒ String (readonly)

Returns Client/worker identity.

Returns:

  • (String) —

    Client/worker identity.



206
207
208
# File 'lib/temporalio/error/failure.rb', line 206

def identity
  @identity
end

#retry_state ⇒ RetryState? (readonly)

Returns Retry state.

Returns:



212
213
214
# File 'lib/temporalio/error/failure.rb', line 212

def retry_state
  @retry_state
end

#scheduled_event_id ⇒ Integer (readonly)

Returns Scheduled event ID for this activity.

Returns:

  • (Integer) —

    Scheduled event ID for this activity.



202
203
204
# File 'lib/temporalio/error/failure.rb', line 202

def scheduled_event_id
  @scheduled_event_id
end

#started_event_id ⇒ Integer (readonly)

Returns Started event ID for this activity.

Returns:

  • (Integer) —

    Started event ID for this activity.



204
205
206
# File 'lib/temporalio/error/failure.rb', line 204

def started_event_id
  @started_event_id
end