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

Function onError

test/fixtures/snapshot/dns-lookup.js:11–13  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

9} = require('v8').startupSnapshot;
10
11function onError(err) {
12 console.error('error:', err);
13}
14
15function onLookup(address, family) {
16 console.log(`address: ${JSON.stringify(address)}`);

Callers 5

queryFunction · 0.70
errorFunction · 0.70
getSourceFileFunction · 0.70
writeFileFunction · 0.70

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…