Coral 0.2.17 candidate API
    Preparing search index...

    Interface EditorDiagnostic

    interface EditorDiagnostic {
        code?: string;
        hint?: string;
        line?: number;
        message: string;
        position?: EditorSourcePosition;
        range?: EditorSourceRange;
        related?: readonly {
            message: string;
            position: EditorSourcePosition;
            range?: EditorSourceRange;
        }[];
        severity?: "error"
        | "warning"
        | "info";
        source?: string;
        subject?: { id: string; kind: "graph" | "node" | "edge" };
    }

    Hierarchy (View Summary)

    Index
    code?: string
    hint?: string
    line?: number

    One-based logical line when no exact position is available.

    message: string
    related?: readonly {
        message: string;
        position: EditorSourcePosition;
        range?: EditorSourceRange;
    }[]
    severity?: "error" | "warning" | "info"
    source?: string
    subject?: { id: string; kind: "graph" | "node" | "edge" }