def get_match(reference):
    try:
        return riotapi.get_match(reference)
    except APIError as error:
        # Try Again Once
        if error.error_code in [500]:
            try:
                return riotapi.get_match(reference)
            except APIError as another_error:
                if another_error.error_code in [500, 400, 404]:
                    pass
                else:
                    raise another_error

        # Skip
        elif error.error_code in [400, 404]:
            pass

        # Fatal
        else:
            raise error
Try to pull the referenced match from Riot's servers. If we can an error that
dataset/ETHPy150Open meraki-analytics/cassiopeia/examples/pull_masters_tier.py/get_match