Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling.ErrorDetail Class Reference

Defines the Error Detail information More...

Inheritance diagram for Pavalisoft.ExceptionHandling.ErrorDetail:
Pavalisoft.ExceptionHandling.Interfaces.IErrorDetail

Public Member Functions

virtual object Clone ()
 

Public Attributes

string Name => LogLevel.ToString().Substring(0, 1) + ErrorCode
 Gets or Sets the Error detail unique name More...
 

Properties

LogLevel LogLevel [get, set]
 Gets or Sets the LogLevel to define type of error. More...
 
string ErrorCode [get, set]
 Gets or Sets the unique error code More...
 
HttpStatusCode StatusCode [get, set]
 Gets or Sets the type HttpStatusCode response to be created More...
 
string Message [get, set]
 Gets or Sets the Error Message More...
 
string WrapMessage [get, set]
 Gets or Sets the Error Wraping message More...
 
string HandlerName [get, set]
 Gets or Sets the Exception Handle name to be used to handled this error. More...
 
EventId EventId [get, set]
 Gets or Sets the EventId to be used for logging while handling this error. More...
 
string ViewName [get, set]
 Gets or Sets the MVC view name to be used while creating ViewResult More...
 
- Properties inherited from Pavalisoft.ExceptionHandling.Interfaces.IErrorDetail
string Name [get]
 Gets or Sets the Error detail unique name More...
 
LogLevel LogLevel [get, set]
 Gets or Sets the LogLevel to define type of error. More...
 
string ErrorCode [get, set]
 Gets or Sets the unique error code More...
 
HttpStatusCode StatusCode [get, set]
 Gets or Sets the type HttpStatusCode response to be created More...
 
string Message [get, set]
 Gets or Sets the Error Message More...
 
string WrapMessage [get, set]
 Gets or Sets the Error Wraping message More...
 
string HandlerName [get, set]
 Gets or Sets the Exception Handle name to be used to handled this error. More...
 
EventId EventId [get, set]
 Gets or Sets the EventId to be used for logging while handling this error. More...
 
string ViewName [get, set]
 Gets or Sets the MVC view name to be used while creating ViewResult More...
 

Detailed Description

Defines the Error Detail information

Member Data Documentation

◆ Name

string Pavalisoft.ExceptionHandling.ErrorDetail.Name => LogLevel.ToString().Substring(0, 1) + ErrorCode

Gets or Sets the Error detail unique name

Property Documentation

◆ ErrorCode

string Pavalisoft.ExceptionHandling.ErrorDetail.ErrorCode
getset

Gets or Sets the unique error code

◆ EventId

EventId Pavalisoft.ExceptionHandling.ErrorDetail.EventId
getset

Gets or Sets the EventId to be used for logging while handling this error.

◆ HandlerName

string Pavalisoft.ExceptionHandling.ErrorDetail.HandlerName
getset

Gets or Sets the Exception Handle name to be used to handled this error.

◆ LogLevel

LogLevel Pavalisoft.ExceptionHandling.ErrorDetail.LogLevel
getset

Gets or Sets the LogLevel to define type of error.

◆ Message

string Pavalisoft.ExceptionHandling.ErrorDetail.Message
getset

Gets or Sets the Error Message

◆ StatusCode

HttpStatusCode Pavalisoft.ExceptionHandling.ErrorDetail.StatusCode
getset

Gets or Sets the type HttpStatusCode response to be created

◆ ViewName

string Pavalisoft.ExceptionHandling.ErrorDetail.ViewName
getset

Gets or Sets the MVC view name to be used while creating ViewResult

◆ WrapMessage

string Pavalisoft.ExceptionHandling.ErrorDetail.WrapMessage
getset

Gets or Sets the Error Wraping message


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