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

Function emitErrorNt

lib/_http_outgoing.js:915–920  ·  view source on GitHub ↗
(msg, err, callback)

Source from the content-addressed store, hash-verified

913}
914
915function emitErrorNt(msg, err, callback) {
916 callback(err);
917 if (typeof msg.emit === 'function' && !msg.destroyed) {
918 msg.emit('error', err);
919 }
920}
921
922function strictContentLength(msg) {
923 return (

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.50
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…