← API reference
CANONICAL TYPE REFERENCE

LuaScriptDiagnostic

A single type-check diagnostic.

lineInt!

1-based line number in the script source.

columnInt!

1-based UTF-16 editor column.

Exclusive diagnostic end line.

Exclusive diagnostic end UTF-16 column.

ERROR or WARNING.

messageString!

Diagnostic message from the Lua type checker.

codeString

Checker error code, when available.

View exact SDL
"""A single type-check diagnostic."""
type LuaScriptDiagnostic {
  """1-based line number in the script source."""
  line: Int!
  """1-based UTF-16 editor column."""
  column: Int!
  """Exclusive diagnostic end line."""
  endLine: Int
  """Exclusive diagnostic end UTF-16 column."""
  endColumn: Int
  """ERROR or WARNING."""
  severity: LuaScriptDiagnosticSeverity!
  """Diagnostic message from the Lua type checker."""
  message: String!
  """Checker error code, when available."""
  code: String
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.