Wraps information about an exception in a serializer-friendly format.
More...
|
string? | ExceptionType [get, set] |
| The type of exception. More...
|
|
string? | Message [get, set] |
| The message describing the exception. More...
|
|
string? | Source [get, set] |
| The name of the application or the object that causes the error. More...
|
|
string? | StackTrace [get, set] |
| A string representation of the frames on the call stack at the time the exception was thrown. More...
|
|
ExceptionInfo? | InnerException [get, set] |
| Information about the exception that originally caused the exception being described here. More...
|
|
Wraps information about an exception in a serializer-friendly format.
◆ ExceptionInfo() [1/2]
NanoByte.Common.Info.ExceptionInfo.ExceptionInfo |
( |
| ) |
|
|
inline |
Base-constructor for XML serialization. Do not call manually!
◆ ExceptionInfo() [2/2]
NanoByte.Common.Info.ExceptionInfo.ExceptionInfo |
( |
Exception |
ex | ) |
|
|
inline |
Creates an exception information based on an exception.
- Parameters
-
ex | The exception whose information to extract. |
◆ ExceptionType
string? NanoByte.Common.Info.ExceptionInfo.ExceptionType |
|
getset |
◆ InnerException
Information about the exception that originally caused the exception being described here.
◆ Message
string? NanoByte.Common.Info.ExceptionInfo.Message |
|
getset |
The message describing the exception.
◆ Source
string? NanoByte.Common.Info.ExceptionInfo.Source |
|
getset |
The name of the application or the object that causes the error.
◆ StackTrace
string? NanoByte.Common.Info.ExceptionInfo.StackTrace |
|
getset |
A string representation of the frames on the call stack at the time the exception was thrown.
The documentation for this class was generated from the following file:
- Common/Info/ExceptionInfo.cs