The line number reported for an execution error should be relative to the start of the entire script, which would make finding the error easier since this is how lines are numbered/displayed in the query editor.
The currently-reported line is relative to the starting line of execution , e.g. the below example where the error occurs in line 6 of the script but is reported as line 2, relative to the execution's starting at line 5.
It's not that the arithmetic of Starting Line + Error Line - 1 is difficult, it's just... annoying.

Thanks for your consideration!