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

Function reject

deps/v8/test/mjsunit/es8/async-function-stacktrace.js:23–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22function thrower() { throw new Error("NOPE"); }
23function reject() { return Promise.reject(new Error("NOPE")); }
24
25async function runTests() {
26 await test(async function a() {

Callers 7

rejectLaterFunction · 0.70
runTestsFunction · 0.70
b4Function · 0.70
c4Method · 0.70
MyPromiseFunction · 0.50
promises.jsFile · 0.50

Calls 1

rejectMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…