what errors are potentially being caught here?