def extract_one(results):
    """
    A convenience to extract the first result from a batch OpenAssetIO
    result, raising if it is an exception.
    """
    result = results[0]
    if isinstance(result, Exception):
        raise result
    return result