Exception: Temporalio::Error::ResetWorkflowError

Inherits:
Failure show all
Defined in:
lib/temporalio/error/failure.rb

Instance Attribute Summary collapse

Attributes inherited from Failure

#raw

Instance Method Summary collapse

Methods inherited from Failure

#cause

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(message, last_heartbeat_details: [], raw: nil, cause: nil)
  super(message, raw: raw, cause: cause)

  @last_heartbeat_details = last_heartbeat_details
end

Instance Attribute Details

#last_heartbeat_detailsArray<any> (readonly)

Returns Last heartbeat details if this is for an activity heartbeat.

Returns:

  • (Array<any>)

    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