ErrorExtensions.

AddErrorListener(ICakeContext, Action<string, Exception>) Method

Summary

Add a listener on all errors passed by functions
Assembly
Cake.igloo15.Helper.dll
Namespace
Cake.igloo15.Helper
Containing Type
ErrorExtensions

Syntax

public static void AddErrorListener(this ICakeContext context, Action<string, Exception> errorAction)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake Context
errorAction Action<string, Exception> The error action

Return Value

Type Description
void