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