— type: docs title: “SyntaxException” linkTitle: “SyntaxException” gitUrl: “https://github.com/pip-services4/pip-services4-dart/tree/main/pip-services4-expressions-dart" description: > Exception that can be thrown by ExpressionParser.
Extends: 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(IContext? context, String code, String message, int? line, int? column)
- context: IContext - (optional) a context to trace execution through a call chain.
- code: String - code
- message: String - human-readable error message.
- line: int? - line number
- column: int? - column number