Apparently HTTPError is not a subclass of URLError