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.
174 175 176 |
# File 'lib/temporalio/error/failure.rb', line 174 def activity_id @activity_id end |
#activity_type ⇒ String (readonly)
Returns Activity type name.
172 173 174 |
# File 'lib/temporalio/error/failure.rb', line 172 def activity_type @activity_type end |
#identity ⇒ String (readonly)
Returns Client/worker identity.
170 171 172 |
# File 'lib/temporalio/error/failure.rb', line 170 def identity @identity end |
#retry_state ⇒ RetryState? (readonly)
Returns Retry state.
176 177 178 |
# File 'lib/temporalio/error/failure.rb', line 176 def retry_state @retry_state end |
#scheduled_event_id ⇒ Integer (readonly)
Returns Scheduled event ID for this activity.
166 167 168 |
# File 'lib/temporalio/error/failure.rb', line 166 def scheduled_event_id @scheduled_event_id end |
#started_event_id ⇒ Integer (readonly)
Returns Started event ID for this activity.
168 169 170 |
# File 'lib/temporalio/error/failure.rb', line 168 def started_event_id @started_event_id end |