MCPcopy Index your code
hub / github.com/nodejs/node / [kOnErrorMessage]

Method [kOnErrorMessage]

lib/internal/worker.js:416–420  ·  view source on GitHub ↗
(serialized)

Source from the content-addressed store, hash-verified

414 }
415
416 [kOnErrorMessage](serialized) {
417 // This is what is called for uncaught exceptions.
418 const error = deserializeError(serialized);
419 this.emit('error', error);
420 }
421
422 [kOnMessage](message) {
423 switch (message.type) {

Callers

nothing calls this directly

Calls 2

deserializeErrorFunction · 0.85
emitMethod · 0.45

Tested by

no test coverage detected