MCPcopy Index your code
hub / github.com/pimutils/vdirsyncer / inner

Function inner

vdirsyncer/cli/__init__.py:28–34  ·  view source on GitHub ↗
(*a, **kw)

Source from the content-addressed store, hash-verified

26def catch_errors(f):
27 @functools.wraps(f)
28 def inner(*a, **kw):
29 try:
30 f(*a, **kw)
31 except BaseException:
32 from .utils import handle_cli_error
33 handle_cli_error()
34 sys.exit(1)
35
36 return inner
37

Callers

nothing calls this directly

Calls 1

handle_cli_errorFunction · 0.85

Tested by

no test coverage detected