Stop scope checking if an error is found