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

Function wrapSerializationError

lib/reply.js:547–549  ·  view source on GitHub ↗
(error, reply)

Source from the content-addressed store, hash-verified

545}
546
547function wrapSerializationError (error, reply) {
548 error.serialization = reply[kRouteContext].config
549}
550
551function onSendHook (reply, payload) {
552 if (reply[kRouteContext].onSend !== null) {

Callers 1

preSerializationHookEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected