MCPcopy
hub / github.com/pex-tool/pex / die

Function die

pex/common.py:102–105  ·  view source on GitHub ↗
(msg, exit_code=1)

Source from the content-addressed store, hash-verified

100
101
102def die(msg, exit_code=1):
103 # type: (str, int) -> NoReturn
104 print(msg, file=sys.stderr)
105 sys.exit(exit_code)
106
107
108def pluralize(

Callers 12

_wrap_coverageMethod · 0.90
executeMethod · 0.90
maybe_reexec_pexFunction · 0.90
bootstrap_pexFunction · 0.90
_activate_venv_dirFunction · 0.90
_bootstrap_venvFunction · 0.90
_get_intMethod · 0.90
PEX_INHERIT_PATHMethod · 0.90
parse_entry_pointsMethod · 0.90
runMethod · 0.90
build_pexFunction · 0.90
mainFunction · 0.90

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected