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

Function invalidSchemaErrorFormatter

test/types/instance.tst.ts:211–213  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

209server.setReplySerializer(serializerWithInvalidReturn)
210
211function invalidSchemaErrorFormatter (err: Error) {
212 if (err) { throw err }
213}
214// @ts-expect-error Argument of type '(err: Error) => void' is not assignable to parameter of type 'SchemaErrorFormatter'.
215server.setSchemaErrorFormatter(invalidSchemaErrorFormatter)
216

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected