MCPcopy
hub / github.com/fastify/fastify / setNotFoundHandler

Function setNotFoundHandler

fastify.js:722–727  ·  view source on GitHub ↗
(opts, handler)

Source from the content-addressed store, hash-verified

720 }
721
722 function setNotFoundHandler (opts, handler) {
723 throwIfAlreadyStarted('Cannot call "setNotFoundHandler"!')
724
725 fourOhFour.setNotFoundHandler.call(this, opts, handler, avvio, router.routeHandler)
726 return this
727 }
728
729 function setValidatorCompiler (validatorCompiler) {
730 throwIfAlreadyStarted('Cannot call "setValidatorCompiler"!')

Callers

nothing calls this directly

Calls 1

throwIfAlreadyStartedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…