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 |
The error reporter. |
Return Value
Type | Description |
---|---|
void |