Updated error ref to include line number and column