document a nice technique to exit from a block in case of errors.