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.
156 157 158 |
# File 'lib/temporalio/error/failure.rb', line 156 def activity_id @activity_id end |
#activity_type ⇒ String (readonly)
Returns Activity type name.
154 155 156 |
# File 'lib/temporalio/error/failure.rb', line 154 def activity_type @activity_type end |
#identity ⇒ String (readonly)
Returns Client/worker identity.
152 153 154 |
# File 'lib/temporalio/error/failure.rb', line 152 def identity @identity end |
#retry_state ⇒ RetryState? (readonly)
Returns Retry state.
158 159 160 |
# File 'lib/temporalio/error/failure.rb', line 158 def retry_state @retry_state end |
#scheduled_event_id ⇒ Integer (readonly)
Returns 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_id ⇒ Integer (readonly)
Returns 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 |