Exception: Temporalio::Error::ResetWorkflowError
- Inherits:
-
Failure
- Object
- StandardError
- Temporalio::Error
- Failure
- Temporalio::Error::ResetWorkflowError
- Defined in:
- lib/temporalio/error/failure.rb
Instance Attribute Summary collapse
-
#last_heartbeat_details ⇒ Array<any>
readonly
Last heartbeat details if this is for an activity heartbeat.
Attributes inherited from Failure
Instance Method Summary collapse
-
#initialize(message, last_heartbeat_details: [], raw: nil, cause: nil) ⇒ ResetWorkflowError
constructor
A new instance of ResetWorkflowError.
Methods inherited from Failure
Constructor Details
#initialize(message, last_heartbeat_details: [], raw: nil, cause: nil) ⇒ ResetWorkflowError
Returns a new instance of ResetWorkflowError.
98 99 100 101 102 |
# File 'lib/temporalio/error/failure.rb', line 98 def initialize(, last_heartbeat_details: [], raw: nil, cause: nil) super(, raw: raw, cause: cause) @last_heartbeat_details = last_heartbeat_details end |
Instance Attribute Details
#last_heartbeat_details ⇒ Array<any> (readonly)
Returns Last heartbeat details if this is for an activity heartbeat.
96 97 98 |
# File 'lib/temporalio/error/failure.rb', line 96 def last_heartbeat_details @last_heartbeat_details end |