[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.Model.ErrorInfo

ErrorInfo Struct

Represents information about errors or exceptions.

Namespace: GrapeCity.Viewer.Common.Model
Assembly: MESCIUS.ActiveReports.Viewer.Common.dll
Syntax
public struct ErrorInfo
Remarks

This structure is used to encapsulate detailed information about errors or exceptions, including their severity level, the exception object itself (if any), and additional error information or details. It is primarily used for error handling and reporting within the application.

Constructors

Name Description
ErrorInfo(Level, string)

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

ErrorInfo(Level, string, string)

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

ErrorInfo(Exception)

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

Properties

Name Description
Detail

Gets a value indicating the detailed error information.

Exception

Gets a value indicating the exception associated with the error, if any.

Info

Gets a value indicating the general error information.

Severity

Gets a value indicating the severity level of the error.