MCPcopy Create free account
hub / github.com/nodejs/undici / onError

Function onError

lib/api/api-stream.js:45–45  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

43 }
44
45 const onError = (err) => finish(err, true)
46 const onFinish = () => finish()
47
48 stream.on('close', onClose)

Callers

nothing calls this directly

Calls 1

finishFunction · 0.85

Tested by

no test coverage detected