MCPcopy
hub / github.com/fastify/fastify / throwIfAlreadyStarted

Function throwIfAlreadyStarted

fastify.js:461–463  ·  fastify.js::throwIfAlreadyStarted
(msg)

Source from the content-addressed store, hash-verified

459 return fastify
460
461 function throwIfAlreadyStarted (msg) {
462 if (fastify[kState].started) throw new FST_ERR_INSTANCE_ALREADY_LISTENING(msg)
463 }
464
465 class="cm">// HTTP injection handling
466 class="cm">// 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