Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Provide the ExceptionSettings to IExceptionManager and IExceptionHandler More...
Public Member Functions | |
ExceptionSettings | GetExceptionSettings () |
Provides configured ExceptionSettings More... | |
IEnumerable< IExceptionHandler > | GetExceptionHandlers () |
Provides the configured IExceptionHandlers More... | |
IExceptionHandler | GetExceptionHandler (string handlerName=null) |
Gets the IExceptionHandler having name handlerName . More... | |
IEnumerable< IErrorDetail > | GetExceptionDetails () |
Gets list of configured IErrorDetail More... | |
IErrorDetail | GetExceptionDetail (string errorCodeName=null) |
Gets IErrorDetail having errorCodeName More... | |
Properties | |
bool | LocalizationEnabled [get] |
Gets true if the Localization enabled otherwise false More... | |
bool | LoggingEnabled [get] |
Returns true if logging enbaled otherwsie false. More... | |
Provide the ExceptionSettings to IExceptionManager and IExceptionHandler
IErrorDetail Pavalisoft.ExceptionHandling.Interfaces.IExceptionDataProvider.GetExceptionDetail | ( | string | errorCodeName = null | ) |
Gets IErrorDetail having errorCodeName
errorCodeName | Error code of the IErrorDetail |
Implemented in Pavalisoft.ExceptionHandling.ExceptionDataProvider.
IEnumerable<IErrorDetail> Pavalisoft.ExceptionHandling.Interfaces.IExceptionDataProvider.GetExceptionDetails | ( | ) |
Gets list of configured IErrorDetail
Implemented in Pavalisoft.ExceptionHandling.ExceptionDataProvider.
IExceptionHandler Pavalisoft.ExceptionHandling.Interfaces.IExceptionDataProvider.GetExceptionHandler | ( | string | handlerName = null | ) |
Gets the IExceptionHandler having name handlerName .
handlerName | The name of IExceptionHandler |
Implemented in Pavalisoft.ExceptionHandling.ExceptionDataProvider.
IEnumerable<IExceptionHandler> Pavalisoft.ExceptionHandling.Interfaces.IExceptionDataProvider.GetExceptionHandlers | ( | ) |
Provides the configured IExceptionHandlers
Implemented in Pavalisoft.ExceptionHandling.ExceptionDataProvider.
ExceptionSettings Pavalisoft.ExceptionHandling.Interfaces.IExceptionDataProvider.GetExceptionSettings | ( | ) |
Provides configured ExceptionSettings
Implemented in Pavalisoft.ExceptionHandling.ExceptionDataProvider.
|
get |
Gets true if the Localization enabled otherwise false
|
get |
Returns true if logging enbaled otherwsie false.