Class VBApplicationErrorInfo
Encapsulates the serializable error data for an error.
public record VBApplicationErrorInfo : VBErrorInfo, IEquatable<VBErrorInfo>, IEquatable<VBApplicationErrorInfo>
- Inheritance
-
VBApplicationErrorInfo
- Implements
- Inherited Members
Remarks
🧩 Errors should be used to generate error diagnostics.
Constructors
VBApplicationErrorInfo(int, Location, string, string)
Encapsulates the serializable error data for an error.
public VBApplicationErrorInfo(int CustomErrorCode, Location Location, string Description, string Verbose)
Parameters
CustomErrorCodeintThe custom workspace application error code.
LocationLocationThe document location of the faulted CST node.
DescriptionstringAn optional error description. "Syntax error" unless specified otherwise.
VerbosestringA detailed description of the error.
Remarks
🧩 Errors should be used to generate error diagnostics.
Properties
CustomErrorCode
The custom workspace application error code.
public int CustomErrorCode { get; init; }