Pushes errors and results on to respective arrays only if they exist.