public override string Run(TaskContext context, string input) { string message = $"Activity function '{this.activityName}' does not exist."; Exception exceptionToReport = new FunctionFailedException(message); throw new TaskFailureException( $"Activity function '{this.activityName}' failed: {exceptionToReport.Message}", Utils.SerializeCause(exceptionToReport, this.config.ErrorDataConverter)); }
public OrchestrationLog(FunctionFailedException ex) { }