[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.Model.ErrorInfo.-ctor

ErrorInfo Constructor

ErrorInfo(Exception)

Initializes a new instance of the ErrorInfo struct with an exception.

Declaration
public ErrorInfo(Exception exception)
Parameters
Type Name Description
Exception exception

The exception to encapsulate.

ErrorInfo(Level, string, string)

Initializes a new instance of the ErrorInfo struct with a level and information.

Declaration
public ErrorInfo(ErrorInfo.Level level, string info, string detail)
Parameters
Type Name Description
ErrorInfo.Level level

The severity level of the error.

string info

The error information.

string detail

ErrorInfo(Level, string)

Initializes a new instance of the ErrorInfo struct with a level, information, and detail.

Declaration
public ErrorInfo(ErrorInfo.Level level, string info)
Parameters
Type Name Description
ErrorInfo.Level level

The severity level of the error.

string info

The error information.