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

Function isErrored

lib/internal/streams/utils.js:306–316  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

304}
305
306function isErrored(stream) {
307 return !!(stream && (
308 stream[kIsErrored] ??
309 stream.readableErrored ??
310 stream.writableErrored ??
311 stream._readableState?.errorEmitted ??
312 stream._writableState?.errorEmitted ??
313 stream._readableState?.errored ??
314 stream._writableState?.errored
315 ));
316}
317
318module.exports = {
319 kOnConstructed,

Callers 9

checkFunction · 0.85
"lib/web/fetch/body.js"Function · 0.85
extractBodyFunction · 0.85
httpNetworkFetchFunction · 0.85
httpNetworkFetchFunction · 0.85
body.jsFile · 0.85
extractBodyFunction · 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…