def args_func(args, p):
    try:
        args.func(args, p)
    except __HOLE__ as e:
        sys.exit("Error: %s" % e)
    except Exception as e:
        if e.__class__.__name__ not in ('ScannerError', 'ParserError'):
            message = """\
An unexpected error has occurred with osprey (version %s), please
consider sending the following traceback to the osprey GitHub issue tracker at:
        https://github.com/pandegroup/osprey/issues
"""
            print(message % __version__, file=sys.stderr)
        raise  # as if we did not catch it
dataset/ETHPy150Open msmbuilder/osprey/osprey/cli/main.py/args_func