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

Function setError

test/fixtures/snapshot/typescript.js:90411–90415  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

90409 return { value: undefined, done: true };
90410 }
90411 function setError(message) {
90412 if (error === undefined) {
90413 error = message;
90414 }
90415 }
90416 function setErrorAndStopIterating(message) {
90417 setError(message);
90418 return stopIterating();

Callers 4

setErrorAndStopIteratingFunction · 0.85
base64VLQFormatDecodeFunction · 0.85
setMethod · 0.85
deleteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…