DefaultExecutionStrategy.

HandleErrorsAsync(Func<Exception, ICakeContext, Task>, Exception, ICakeContext) Method

Summary

Executes the error handler.
Namespace
Cake.Core
Containing Type
DefaultExecutionStrategy

Syntax

public Task HandleErrorsAsync(Func<Exception, ICakeContext, Task> action, Exception exception, ICakeContext context)

Parameters

Name Type Description
action Func<Exception, ICakeContext, Task> The action.
exception Exception The exception.
context ICakeContext The context.

Return Value

Type Description
Task The awaitable task.