[]
Represents information about errors or exceptions.
public struct ErrorInfo
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.
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. |
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. |