Summary
The error handler to be executed if an exception occurs in the task.
- Namespace
- Cake
.Frosting - Containing Type
- IFrostingTask
Syntax
void OnError(Exception exception, ICakeContext context)
Parameters
Name | Type | Description |
---|---|---|
exception | Exception | The exception. |
context | ICakeContext | The context. |
Return Value
Type | Description |
---|---|
void |