more specific error catch, NameError is the most likely by far