Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Adds IExceptionHandler to ExceptionFilterAttribute More...
Public Member Functions | |
ExceptionFilter (IExceptionManager exceptionManager, IExceptionCodesDecider exceptionCodesDecider) | |
Creates an instance of ExceptionFilter with IExceptionManager More... | |
override void | OnException (ExceptionContext context) |
Handles exception using IExceptionManager More... | |
override Task | OnExceptionAsync (ExceptionContext context) |
Handles exception using IExceptionManager asynchronously More... | |
Adds IExceptionHandler to ExceptionFilterAttribute
Pavalisoft.ExceptionHandling.ExceptionFilter.ExceptionFilter | ( | IExceptionManager | exceptionManager, |
IExceptionCodesDecider | exceptionCodesDecider | ||
) |
Creates an instance of ExceptionFilter with IExceptionManager
exceptionManager | IExceptionManager to be used in ExceptionFilter |
exceptionCodesDecider | IExceptionCodesDecider to be used in ExceptionFilter |
override void Pavalisoft.ExceptionHandling.ExceptionFilter.OnException | ( | ExceptionContext | context | ) |
Handles exception using IExceptionManager
context |
override Task Pavalisoft.ExceptionHandling.ExceptionFilter.OnExceptionAsync | ( | ExceptionContext | context | ) |
Handles exception using IExceptionManager asynchronously
context |