Exception: Temporalio::Error::ActivityError
- Inherits:
-
Failure
- Object
- StandardError
- Temporalio::Error
- Failure
- Temporalio::Error::ActivityError
- Defined in:
- lib/temporalio/error/failure.rb
Overview
Error raised on activity failure.
Instance Attribute Summary collapse
-
#activity_id ⇒ String
readonly
Activity ID.
-
#activity_type ⇒ String
readonly
Activity type name.
-
#identity ⇒ String
readonly
Client/worker identity.
-
#retry_state ⇒ RetryState?
readonly
Retry state.
-
#scheduled_event_id ⇒ Integer
readonly
Scheduled event ID for this activity.
-
#started_event_id ⇒ Integer
readonly
Started event ID for this activity.
Method Summary
Methods inherited from Temporalio::Error
Instance Attribute Details
#activity_id ⇒ String (readonly)
Returns Activity ID.
196 197 198 |
# File 'lib/temporalio/error/failure.rb', line 196 def activity_id @activity_id end |
#activity_type ⇒ String (readonly)
Returns Activity type name.
194 195 196 |
# File 'lib/temporalio/error/failure.rb', line 194 def activity_type @activity_type end |
#identity ⇒ String (readonly)
Returns Client/worker identity.
192 193 194 |
# File 'lib/temporalio/error/failure.rb', line 192 def identity @identity end |
#retry_state ⇒ RetryState? (readonly)
Returns Retry state.
198 199 200 |
# File 'lib/temporalio/error/failure.rb', line 198 def retry_state @retry_state end |
#scheduled_event_id ⇒ Integer (readonly)
Returns Scheduled event ID for this activity.
188 189 190 |
# File 'lib/temporalio/error/failure.rb', line 188 def scheduled_event_id @scheduled_event_id end |
#started_event_id ⇒ Integer (readonly)
Returns Started event ID for this activity.
190 191 192 |
# File 'lib/temporalio/error/failure.rb', line 190 def started_event_id @started_event_id end |