Diagnostic(string,DiagnosticSeverity)

Constructor in Diagnostic

Summary

Initializes a new instance of the Diagnostic class.

public Diagnostic(string message, DiagnosticSeverity severity = DiagnosticSeverity.Error)

Parameters

NameDescription
string messageGets or sets the description of the issue.
Yarn.Compiler.Diagnostic.DiagnosticSeverity severityGets or sets the severity of the issue.