← All types
AutomationOb Object

JinjaDiagnostic

A single workflow-expression validation diagnostic.

Fields

line

Int!Non-null

1-based line number, or 0 when there is no specific location.

column

Int!Non-null

1-based column number, or 0 when there is no specific location.

offset

Int!Non-null

0-based character offset into the source, or -1 when unavailable.

ERROR or WARNING.

Possible values (2)
ERROR

Error — the expression is invalid.

WARNING

Warning — non-fatal.

message

String!Non-null

Human-readable diagnostic message.

phase

String!Non-null

Phase that produced it: lex, parse, evaluate, or filter.

Referenced by (1)
Exact type SDL
"""A single workflow-expression validation diagnostic."""
type JinjaDiagnostic {
  """1-based line number, or 0 when there is no specific location."""
  line: Int!
  """1-based column number, or 0 when there is no specific location."""
  column: Int!
  """0-based character offset into the source, or -1 when unavailable."""
  offset: Int!
  """ERROR or WARNING."""
  severity: ExpressionDiagnosticSeverity!
  """Human-readable diagnostic message."""
  message: String!
  """Phase that produced it: lex, parse, evaluate, or filter."""
  phase: String!
}