← API reference
CANONICAL TYPE REFERENCE

FieldError

A validation error on a specific field

codeString

Stable error code, when available.

Optional location in authored XML or Lua for editor highlighting.

pathString!

Field path with the error

messageString!

Error message

View exact SDL
"""A validation error on a specific field"""
type FieldError {
  """Stable error code, when available."""
  code: String
  """Optional location in authored XML or Lua for editor highlighting."""
  source: SourceDiagnostic
  """Field path with the error"""
  path: String!
  """Error message"""
  message: String!
}

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