Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onError
Function
onError
deps/undici/src/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
finish
Function · 0.70
Tested by
no test coverage detected