SyntaxException

Exception that can be thrown by ExpressionParser.

Implements: BadRequestException

Description

The SyntaxException class defines the exceptions that can be thrown by the ExpressionParser class.

Constructors

Creates a new instance of the SyntaxException class.

SyntaxException(context: Optional[IContext] = None, code: Optional[str] = None, message: Optional[str] = None, line: int = 0, column: int = 0)

  • context: IContext - (optional) a context to trace execution through a call chain.
  • code: Optional[str] - code
  • message: Optional[str] - human-readable error message.
  • line: int - line number
  • column: int - column number