CakeTaskExtensions.

SetErrorReporter(CakeTask, Func<Exception, Task>) Method

Summary

Sets the task's error reporter.
Namespace
Cake.Core
Containing Type
CakeTaskExtensions

Syntax

public static void SetErrorReporter(this CakeTask task, Func<Exception, Task> errorReporter)

Parameters

Name Type Description
task CakeTask The task.
errorReporter Func<Exception, Task> The error reporter.

Return Value

Type Description
void