MCPcopy Index your code
hub / github.com/nodejs/node / error

Function error

configure.py:1262–1265  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1260
1261
1262def error(msg):
1263 prefix = '\033[1m\033[31mERROR\033[0m' if os.isatty(1) else 'ERROR'
1264 print(f'{prefix}: {msg}')
1265 sys.exit(1)
1266
1267def warn(msg):
1268 warn.warned = True

Callers 13

get_version_helperFunction · 0.70
get_gas_versionFunction · 0.70
check_compilerFunction · 0.70
cc_macrosFunction · 0.70
configure_nodeFunction · 0.70
without_ssl_errorFunction · 0.70
configure_opensslFunction · 0.70
configure_liefFunction · 0.70
without_sqlite_errorFunction · 0.70
configure_ffiFunction · 0.70
icu_downloadFunction · 0.70
configure_intlFunction · 0.70

Calls 2

printFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…