Update error to be an ImportError