begin is not needed -- you can just rescue errors inside the entire function.