human
Complete this python program:
def Error(msg):
assistant
#Here is the Python code you requested.

    """Helper class to raise parser errors.
    """
    def raise_error(s, loc, toks):
        raise ParseFatalException(((msg + '\n') + s))
    empty = Empty()
    empty.setParseAction(raise_error)
    return empty