MCPcopy Create free account
hub / github.com/nodejs/node / createPrematureCloseError

Function createPrematureCloseError

deps/undici/undici.js:17725–17729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17723 }
17724 __name(getWritableError, "getWritableError");
17725 function createPrematureCloseError() {
17726 const err = new Error("Premature close");
17727 err.code = "ERR_STREAM_PREMATURE_CLOSE";
17728 return err;
17729 }
17730 __name(createPrematureCloseError, "createPrematureCloseError");
17731 function trackWritableLifecycle(stream2, callback) {
17732 let done = false;

Callers 1

trackWritableLifecycleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected