My guess is no, no error message. That's why I suggested to check beforehand, not with the API but with your own method.
I don't know your use case, though. I don't know you many records you pull and how long the process in step 2 takes and if perhaps temporarely locking those records (with a seperate field) is an option.