throw the error of the last retry