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

Function isWritableErrored

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

Source from the content-addressed store, hash-verified

209}
210
211function isWritableErrored(stream) {
212 if (!isNodeStream(stream)) {
213 return null;
214 }
215
216 if (stream.writableErrored) {
217 return stream.writableErrored;
218 }
219
220 return stream._writableState?.errored ?? null;
221}
222
223function isReadableErrored(stream) {
224 if (!isNodeStream(stream)) {

Callers 1

getEosErroredFunction · 0.85

Calls 1

isNodeStreamFunction · 0.85

Tested by

no test coverage detected