Table of Contents

Class VBErrorInfo

Namespace
RDCore.SDK.Model.Errors.Abstract
Assembly
RDCore.SDK.dll

Encapsulates the serializable error data for an error.

public abstract record VBErrorInfo : IEquatable<VBErrorInfo>
Inheritance
VBErrorInfo
Implements
Derived
Inherited Members

Remarks

🧩 Errors should be used to generate error diagnostics.

Constructors

VBErrorInfo(int, Location, string, string)

Encapsulates the serializable error data for an error.

protected VBErrorInfo(int ErrorId, Location Location, string Description, string Verbose)

Parameters

ErrorId int

The numeric (int) representation of the formal error code.

Location Location

The document location of the faulted CST node.

Description string

An optional error description. "Syntax error" unless specified otherwise.

Verbose string

A detailed message identifying the faulted CST token and detailing its semantics.

Remarks

🧩 Errors should be used to generate error diagnostics.

Properties

Description

An optional error description. "Syntax error" unless specified otherwise.

public string Description { get; init; }

Property Value

string

ErrorId

The numeric (int) representation of the formal error code.

public int ErrorId { get; init; }

Property Value

int

Location

The document location of the faulted CST node.

public Location Location { get; init; }

Property Value

Location

Verbose

A detailed message identifying the faulted CST token and detailing its semantics.

public string Verbose { get; init; }

Property Value

string