GraphQueryDiagnostic interface

A graph planning or execution diagnostic.

Properties

code

Stable machine-readable diagnostic identifier.

message

Human-readable explanation; applications should use code rather than parse this text.

phase

The stage that produced the diagnostic.

severity

The diagnostic's importance.

span

Optional source-span description associated with the diagnostic.

suggestions

Suggested corrections or alternatives.

Property Details

code

Stable machine-readable diagnostic identifier.

code?: string

Property Value

string

message

Human-readable explanation; applications should use code rather than parse this text.

message?: string

Property Value

string

phase

The stage that produced the diagnostic.

phase?: string

Property Value

string

severity

The diagnostic's importance.

severity?: string

Property Value

string

span

Optional source-span description associated with the diagnostic.

span?: string

Property Value

string

suggestions

Suggested corrections or alternatives.

suggestions?: string[]

Property Value

string[]