Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Handles Exception and provides ExceptionData used in IActionResult creation More...
Public Member Functions | |
ExceptionData | HandleException (IErrorDetail detail, Exception ex=null) |
Handles exception ex with error detail More... | |
void | SetHandlerConfig (string handlerConfig) |
Sets the additional IExceptionHandler settings from handlerConfig More... | |
Handles Exception and provides ExceptionData used in IActionResult creation
ExceptionData Pavalisoft.ExceptionHandling.Interfaces.IExceptionHandler.HandleException | ( | IErrorDetail | detail, |
Exception | ex = null |
||
) |
Handles exception ex with error detail
detail | IErrorDetail used to handle exception ex |
ex | Exception to be handled. |
Implemented in Pavalisoft.ExceptionHandling.Handlers.BaseExceptionHandler, Pavalisoft.ExceptionHandling.Handlers.PropagateExceptionHandler, Pavalisoft.ExceptionHandling.Handlers.SupressExceptionHandler, and Pavalisoft.ExceptionHandling.Handlers.WrapExceptionHandler.
void Pavalisoft.ExceptionHandling.Interfaces.IExceptionHandler.SetHandlerConfig | ( | string | handlerConfig | ) |
Sets the additional IExceptionHandler settings from handlerConfig
handlerConfig | Json string |
Implemented in Pavalisoft.ExceptionHandling.Handlers.BaseExceptionHandler.