Found the correct way to deal with an url.Error