def METHOD_NAME(exc, message):
    # The crappy old API that PyPI offered uses the status to pass down
    # messages to the client. So this function will make that easier to do.
    resp = exc(message)
    resp.status = f"{resp.status_code} {message}"
    return resp