Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastify/fastify
/ errorPlugin
Function
errorPlugin
test/plugin.4.test.js:490–492 ·
view source on GitHub ↗
(app, opts, done)
Source
from the content-addressed store, hash-verified
488
489
const
pluginName =
'error-plugin'
490
const
errorPlugin =
async
(app, opts, done) => {
491
done()
492
}
493
const
namedPlugin = fp(errorPlugin, { name: pluginName })
494
495
fastify.register(namedPlugin)
Callers
nothing calls this directly
Calls
1
done
Function · 0.50
Tested by
no test coverage detected