MCPcopy Create free account
hub / github.com/vercel/vercel / _error

Function _error

packages/python/templates/vc_cron_detect.py:22–24  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

20
21
22def _error(msg: str) -> NoReturn:
23 print(json.dumps({"error": msg}))
24 sys.exit(1)
25
26
27def main():

Callers 1

mainFunction · 0.85

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected