MCPcopy Create free account
hub / github.com/fastify/fastify / throwIfAlreadyStarted

Function throwIfAlreadyStarted

fastify.js:463–465  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

461 return fastify
462
463 function throwIfAlreadyStarted (msg) {
464 if (fastify[kState].started) throw new FST_ERR_INSTANCE_ALREADY_LISTENING(msg)
465 }
466
467 // HTTP injection handling
468 // If the server is not ready yet, this

Callers 13

addHookFunction · 0.85
addSchemaFunction · 0.85
setNotFoundHandlerFunction · 0.85
setValidatorCompilerFunction · 0.85
setSchemaErrorFormatterFunction · 0.85
setSerializerCompilerFunction · 0.85
setSchemaControllerFunction · 0.85
setReplySerializerFunction · 0.85
setErrorHandlerFunction · 0.85
setChildLoggerFactoryFunction · 0.85
setGenReqIdFunction · 0.85
addConstraintStrategyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected