When the system encounters an error processing a row, it stops analyzing the row, appends the row to the bad rows file, writes a supporting diagnostic message to the nzlog file that describes the position and nature of the error, and increments a rejected rows counter.