API Reference
Class
MermaidDiagnostic
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.
Returned or exposed by 2
- Property MermaidParseResult.Diagnostics
- Property MermaidRenderResult.Diagnostics
Constructors
public MermaidDiagnostic() #Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Code { get; set; } #Gets or sets the stable diagnostic identifier, or an empty string for an unclassified diagnostic.
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.