[]
Initializes a new instance of the ErrorInfo struct with an exception.
public ErrorInfo(Exception exception)
Type | Name | Description |
---|---|---|
Exception | exception | The exception to encapsulate. |
Initializes a new instance of the ErrorInfo struct with a level and information.
public ErrorInfo(ErrorInfo.Level level, string info, string detail)
Type | Name | Description |
---|---|---|
ErrorInfo.Level | level | The severity level of the error. |
string | info | The error information. |
string | detail |
Initializes a new instance of the ErrorInfo struct with a level, information, and detail.
public ErrorInfo(ErrorInfo.Level level, string info)
Type | Name | Description |
---|---|---|
ErrorInfo.Level | level | The severity level of the error. |
string | info | The error information. |