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

Function errorhandler

lib/child_process.js:427–437  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

425 }
426
427 function errorhandler(e) {
428 ex = e;
429
430 if (child.stdout)
431 child.stdout.destroy();
432
433 if (child.stderr)
434 child.stderr.destroy();
435
436 exithandler();
437 }
438
439 function kill() {
440 if (child.stdout)

Callers

nothing calls this directly

Calls 2

exithandlerFunction · 0.85
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…