e, location=None):
        pass


def _get_match(succ, name, resultidx=0, matchidx=0, silent_fail=False):
    &#34;&#34;&#34;
    Helper method to return the match info for the given result index and name, or None.

    Args:
        succ: success instance
        name: name of the match info
        resultidx: index of the result in success
        matchidx: if there is more than one matching match info with that name, which one to return
        silent_fail: if True, return None, if False, raise an except