Summary
Sets the task's error reporter.
- Namespace
- Cake
.Core - Containing Type
- CakeTaskExtensions
Syntax
public static void SetErrorReporter(this CakeTask task, Action<Exception> errorReporter)
Parameters
| Name | Type | Description |
|---|---|---|
| task | CakeTask | The task. |
| errorReporter | Action |
The error reporter. |
Return Value
| Type | Description |
|---|---|
| void |
