OptionalactivityName of the activity, when the error is from an activity.
The error thrown.
Origin of the error: workflow execution, activity execution, or runtime.
OptionalworkflowName of the workflow, when the error is scoped to a workflow or activity.
Payload passed to the onError handler when a workflow, activity or runtime error occurs.