Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onError
Method
onError
lib/internal/streams/fast-utf8-stream.js:722–726 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
720
this.off(
'error'
, onError);
721
};
722
const
onError = (err) => {
723
this.#flushPending = false;
724
cb(err);
725
this.off(
'drain'
, onDrain);
726
};
727
728
this.once(
'drain'
, onDrain);
729
this.once(
'error'
, onError);
Callers
nothing calls this directly
Calls
2
cb
Function · 0.70
off
Method · 0.45
Tested by
no test coverage detected