If you disable indexing, you get the error of the last iteration. If you use the shift register approach, you should get the first error, provided the code in the loop correctly passes errors. If it doesn't (more common than you may think), do not disable indexing, but use the Merge Errors VI to pick the first error from each loop. You will need to use it twice, once after each loop.