Summary
Executes the error handler.
- Namespace
- Cake
.Core - Containing Type
- Default
Execution Strategy
Syntax
public Task HandleErrorsAsync(Func<Exception, ICakeContext, Task> action, Exception exception, ICakeContext context)
Parameters
| Name | Type | Description |
|---|---|---|
| action | Func |
The action. |
| exception | Exception | The exception. |
| context | ICakeContext | The context. |
Return Value
| Type | Description |
|---|---|
| Task | The awaitable task. |
