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

Function handler

test/validation-error-handling.test.js:850–850  ·  view source on GitHub ↗
(request, reply)

Source from the content-addressed store, hash-verified

848 }
849 },
850 handler (request, reply) { reply.send({ success: true }) }
851 }
852
853 test('async preValidation with custom validator should trigger error handler when validator throws', async (t) => {

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected