Summary
The error handler to be executed using the specified context if an exception occurs in the task.
- Namespace
- Cake
.Frosting - Containing Type
- AsyncFrostingTask
<T>
Syntax
public virtual void OnError(Exception exception, T context)
Parameters
Name | Type | Description |
---|---|---|
exception | Exception | The exception. |
context | T | The context. |
Return Value
Type | Description |
---|---|
void |