Skip to content

ErrorCode

const ErrorCode: object

Defined in: packages/aip/src/filtering/errors.ts:16

readonly CHECK_INVALID_EXPRESSION: "CHECK_INVALID_EXPRESSION" = "CHECK_INVALID_EXPRESSION"

A structural invariant of the expression tree was violated.

readonly CHECK_UNDECLARED_IDENT: "CHECK_UNDECLARED_IDENT" = "CHECK_UNDECLARED_IDENT"

An identifier was referenced but has no matching declaration.

readonly CHECK_UNKNOWN_FUNCTION: "CHECK_UNKNOWN_FUNCTION" = "CHECK_UNKNOWN_FUNCTION"

A function or operator was called but has no known declaration.

readonly DEPTH_EXCEEDED: "DEPTH_EXCEEDED" = "DEPTH_EXCEEDED"

An already-built Expr tree exceeds the configured depth limit.

readonly PARSE_DEPTH_EXCEEDED: "PARSE_DEPTH_EXCEEDED" = "PARSE_DEPTH_EXCEEDED"

The expression’s parenthesis nesting exceeds the configured depth limit.

readonly PARSE_UNEXPECTED_TOKEN: "PARSE_UNEXPECTED_TOKEN" = "PARSE_UNEXPECTED_TOKEN"

A token that could not be incorporated into a valid expression was encountered.

readonly PARSE_UNTERMINATED_STRING: "PARSE_UNTERMINATED_STRING" = "PARSE_UNTERMINATED_STRING"

A string literal was opened but never closed before end-of-input.