Skip to content
ChartForgeX
Class

MermaidDiagnostic

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a Mermaid parser diagnostic.

Inheritance

  • object
  • MermaidDiagnostic

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public MermaidDiagnostic() #

Properties

public string Code { get; set; } #

Gets or sets the stable diagnostic identifier. Library-produced diagnostics use MermaidDiagnosticCodes; caller-created diagnostics may leave it empty.

public VisualDiagnosticSeverity Severity { get; set; } #

Gets or sets diagnostic severity.

public MermaidSourceSpan Span { get; set; } #

Gets or sets the source span associated with the diagnostic.

public string Message { get; set; } #

Gets or sets the diagnostic message.