Class VBCompileErrorInfo
Encapsulates the serializable error data for a compile error.
public record VBCompileErrorInfo : VBErrorInfo, IEquatable<VBErrorInfo>, IEquatable<VBCompileErrorInfo>
- Inheritance
-
VBCompileErrorInfo
- Implements
- Inherited Members
Remarks
A compile error generally occurs while traversing the abstract syntax tree (AST) in the semantic layer.
Constructors
VBCompileErrorInfo(int, SourceLocation, string, string)
Encapsulates the serializable error data for a compile error.
public VBCompileErrorInfo(int ErrorId, SourceLocation Location, string Description, string Verbose)
Parameters
ErrorIdintThe number of the error: the number of its
VBCdiagnostic code.LocationSourceLocationThe document location of the problematic node.
DescriptionstringWhat the error is: its standard (localized) message.
VerbosestringA detailed message that is optionally appended, depending on the current server trace configuration.
Remarks
A compile error generally occurs while traversing the abstract syntax tree (AST) in the semantic layer.