Details about syntax and type errors. The error details apply to the entire expression, unless the object includes:

  • line and column
  • expression
interface JiraExpressionValidationError {
    column?: number;
    expression?: string;
    line?: number;
    message: string;
    type: "type" | "other" | "syntax";
}

Properties

column?: number

The text column in which the error occurred.

expression?: string

The part of the expression in which the error occurred.

line?: number

The text line in which the error occurred.

message: string

Details about the error.

!, -, typeof, (, IDENTIFIER, null, true, false, NUMBER, STRING, TEMPLATE_LITERAL, new, [ or { expected, > encountered.
type: "type" | "other" | "syntax"

The error type.