def METHOD_NAME(element: ET.Element, path: str) -> str:
    e = element.find(path)
    if e is None:
        raise RuntimeError(f"Path {path} was not found.")
    txt = e.text
    if txt is None:
        raise RuntimeError(f"Path {path} has no text.")
    return txt