sfn_send_task_failure: Used by workers to report that the task identified by the taskToken
failed
Description
Used by workers to report that the task identified by the taskToken
failed.
Usage
sfn_send_task_failure(taskToken, error, cause)
Arguments
taskToken
[required] The token that represents this task. Task tokens are generated by the
service when the tasks are assigned to a worker (see
GetActivityTask::taskToken).
error
The error code of the failure.
cause
A more detailed explanation of the cause of the failure.
Request syntax
svc$send_task_failure(
taskToken = "string",
error = "string",
cause = "string"
)