Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
def
_error(msg: str) -> NoReturn:
23
print(json.dumps({
"error"
: msg}))
24
sys.exit(1)
25
26
27
def
main():
Callers
1
main
Function · 0.85
Calls
1
exit
Method · 0.45
Tested by
no test coverage detected