@wraps(fn)
def wrapper(**kwargs):
    try:
        fn(**kwargs)
    except Exception as e:
        print(f'Error: {e}', file=sys.stderr)
        sys.exit(1)
@wraps(fn)
def wrapper(**kwargs):
    try:
        fn(**kwargs)
    except Exception as e:
        print(f'Error: {e}', file=sys.stderr)
        sys.exit(1)