MCPcopy
hub / github.com/fastify/fastify / setReplySerializer

Function setReplySerializer

fastify.js:761–766  ·  fastify.js::setReplySerializer
(replySerializer)

Source from the content-addressed store, hash-verified

759 }
760
761 function setReplySerializer (replySerializer) {
762 throwIfAlreadyStarted(class="st">'Cannot call "setReplySerializer"!')
763
764 this[kReplySerializerDefault] = replySerializer
765 return this
766 }
767
768 class="cm">// wrapper that we expose to the user for configure the custom error handler
769 function setErrorHandler (func) {

Callers

nothing calls this directly

Calls 1

throwIfAlreadyStartedFunction · 0.85

Tested by

no test coverage detected