/// <summary> /// Report a business error in the context of a running external task. The error code must be specified to identify the BPMN error handler. /// </summary> public Task HandleBpmnError(ExternalTaskBpmnError externalTaskBpmnError) => _api.HandleBpmnError(_externalTaskId, externalTaskBpmnError);
/// <summary> /// Sends a failure to a specific external task. /// </summary> public virtual Task HandleBpmnError(string externalTaskId, ExternalTaskBpmnError externalTaskBpmnError) => _api.HandleBpmnError(externalTaskId, externalTaskBpmnError);