MCPcopy
hub / github.com/vercel/next.js / onError

Function onError

test/e2e/next-analyze/next-analyze.test.ts:112–118  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

110 }
111
112 function onError(error: Error) {
113 clearTimeout(timeout)
114 process.stdout.off('data', onStdout)
115 process.off('error', onError)
116 process.off('exit', onExit)
117 reject(error)
118 }
119
120 function onExit(code: number) {
121 clearTimeout(timeout)

Callers

nothing calls this directly

Calls 3

clearTimeoutFunction · 0.50
rejectFunction · 0.50
offMethod · 0.45

Tested by

no test coverage detected