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.



194
195
196
# File 'lib/temporalio/error/failure.rb', line 194

def activity_id
  @activity_id
end

#activity_type ⇒ String (readonly)

Returns Activity type name.

Returns:

  • (String) —

    Activity type name.



192
193
194
# File 'lib/temporalio/error/failure.rb', line 192

def activity_type
  @activity_type
end

#identity ⇒ String (readonly)

Returns Client/worker identity.

Returns:

  • (String) —

    Client/worker identity.



190
191
192
# File 'lib/temporalio/error/failure.rb', line 190

def identity
  @identity
end

#retry_state ⇒ RetryState? (readonly)

Returns Retry state.

Returns:



196
197
198
# File 'lib/temporalio/error/failure.rb', line 196

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.



186
187
188
# File 'lib/temporalio/error/failure.rb', line 186

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.



188
189
190
# File 'lib/temporalio/error/failure.rb', line 188

def started_event_id
  @started_event_id
end