Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastify/fastify
/ onError
Function
onError
test/helper.js:480–482 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
478
request.on(
'data'
, onData)
479
request.on(
'end'
, onEnd)
480
function
onError (err) {
481
callback(err, null)
482
}
483
function
onData (chunk) {
484
body += chunk
485
}
Callers
nothing calls this directly
Calls
1
callback
Function · 0.85
Tested by
no test coverage detected