ensure the same error is reraised.