Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastify/fastify
/ toJSON
Function
toJSON
lib/error-handler.js:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
const
rootErrorHandler = {
24
func: defaultErrorHandler,
25
toJSON () {
26
return
this.func.name.toString() +
'()'
27
}
28
}
29
30
function
handleError (reply, error, cb) {
Callers
nothing calls this directly
Calls
1
toString
Method · 0.80
Tested by
no test coverage detected