Debugging query errors

It would be helpful to return the line position where the query error exists, in addition to the character position
image