A do-file replacement that dies on errors.