class Temporalio::Client::AsyncActivityHandle
def fail(error, last_heartbeat_details: [], rpc_options: nil)
-
rpc_options
(RPCOptions, nil
) -- Advanced RPC options. -
last_heartbeat_details
(Array
) -- Last heartbeat details for the activity. -
error
(Exception
) -- Error for the activity.
def fail(error, last_heartbeat_details: [], rpc_options: nil) @client._impl.fail_async_activity(Interceptor::FailAsyncActivityInput.new( task_token_or_id_reference:, error:, last_heartbeat_details:, rpc_options: )) end