def getServerError(exception):
    assert not isinstance(exception, BaseServerException)
    serverException = ServerError()
    return serverException
Converts the specified exception that is not a subclass of
dataset/ETHPy150Open ga4gh/server/ga4gh/exceptions.py/getServerError