def METHOD_NAME(msg, location):
    # type: (str, loc_t) -> NoReturn
    """Convenience wrapper for parse errors.
    Exits with status 2.  See core/main_loop.py.
    """
    raise Parse(msg, location)