Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Provides implementation to manage/handle Exception using IExceptionHandlers More...
Public Member Functions | |
IActionResult | ManageException (Exception ex, params object[] args) |
Handles raised Exception with args More... | |
IActionResult | ManageException (string errorCode, Exception ex, params object[] args) |
Handles Exception with the ErrorDetail of the errorCode More... | |
Provides implementation to manage/handle Exception using IExceptionHandlers
IActionResult Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager.ManageException | ( | Exception | ex, |
params object [] | args | ||
) |
Handles raised Exception with args
ex | Exception to be handled |
args | Additional data to be considered while handling ex |
Implemented in Pavalisoft.ExceptionHandling.ExceptionManager.
IActionResult Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager.ManageException | ( | string | errorCode, |
Exception | ex, | ||
params object [] | args | ||
) |
Handles Exception with the ErrorDetail of the errorCode
errorCode | ErrorDetail having error code to be considered while handling the exception. |
ex | Exception to be handled. |
args | Additional data to be considered while handling ex |
Implemented in Pavalisoft.ExceptionHandling.ExceptionManager.