Pavalisoft.ExceptionHandling
1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
|
Provides configuration structure for the Exception manager and its handlers including Exception details. More...
Properties | |
bool | EnableLocalization [get, set] |
Gets or Sets flat to indicate enabling localization More... | |
bool | EnableLogging [get, set] |
Gets or Sets flat to indicate enabling localization More... | |
string | DefaulExceptiontHandler [get, set] |
Gets or Sets the default exception handler name More... | |
string | DefaultErrorDetail [get, set] |
Gets or Sets the default error details name when no error code found More... | |
List< ErrorDetail > | ErrorDetails [get, set] |
Gets or Sets the Error Details More... | |
List< ExceptionHandlerDefinition > | ExceptionHandlers [get, set] |
Gets or Sets the Exception Handler definitions More... | |
Provides configuration structure for the Exception manager and its handlers including Exception details.
{ "Exceptions": { "EnableLocalization": "true", "EnableLogging": "true", "DefaultErrorDetail": "Default", "DefaulExceptiontHandler": "BaseHandler", "ErrorDetails": [ { "Name": "Default", "LogLevel": "Error", "ErrorCode": "6001", "StatusCode": "200", "Message": "Test", "HandlerName": "BaseHandler", "EventId": { "Id": "1", "Name": "General" }, "ViewName": "Error" } ], "ExceptionHandlers": [ { "Name": "BaseHandler", "HandlingBehaviour": "Supress", "HandlerData": "" } ] } }
|
getset |
Gets or Sets the default exception handler name
|
getset |
Gets or Sets the default error details name when no error code found
|
getset |
Gets or Sets flat to indicate enabling localization
|
getset |
Gets or Sets flat to indicate enabling localization
|
getset |
Gets or Sets the Error Details
|
getset |
Gets or Sets the Exception Handler definitions