title: How to force stopping execution in Stata
body: <p>Is there a way to stop the execution of a do-file in Stata when an error occurs? The issue is that the do-file contains commands that could work despite the error. </p>