Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager Interface Reference

Provides implementation to manage/handle Exception using IExceptionHandlers More...

Inheritance diagram for Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager:
Pavalisoft.ExceptionHandling.ExceptionManager

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...
 

Detailed Description

Provides implementation to manage/handle Exception using IExceptionHandlers

Member Function Documentation

◆ ManageException() [1/2]

IActionResult Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager.ManageException ( Exception  ex,
params object []  args 
)

Handles raised Exception with args

Parameters
exException to be handled
argsAdditional data to be considered while handling ex
Returns
The IActionResult for the handled ex

Implemented in Pavalisoft.ExceptionHandling.ExceptionManager.

◆ ManageException() [2/2]

IActionResult Pavalisoft.ExceptionHandling.Interfaces.IExceptionManager.ManageException ( string  errorCode,
Exception  ex,
params object []  args 
)

Handles Exception with the ErrorDetail of the errorCode

Parameters
errorCodeErrorDetail having error code to be considered while handling the exception.
exException to be handled.
argsAdditional data to be considered while handling ex
Returns
The IActionResult for the handled ex

Implemented in Pavalisoft.ExceptionHandling.ExceptionManager.


The documentation for this interface was generated from the following file: