MCPcopy
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

23const rootErrorHandler = {
24 func: defaultErrorHandler,
25 toJSON () {
26 return this.func.name.toString() + '()'
27 }
28}
29
30function handleError (reply, error, cb) {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…