Throw error on syntax errors during parsing of relational expressions.