fastify-http-errors-enhanced
fastify-http-errors-enhanced copied to clipboard
A error handling plugin for Fastify that uses enhanced HTTP errors.
resolved https://github.com/ShogunPanda/fastify-http-errors-enhanced/issues/10
When installing fastify v5, the backend immediately crashes with the following error: ``` FastifyError: fastify-plugin: fastify-http-errors-enhanced - expected '4.x' fastify version, '5.0.0' is installed Code: FST_ERR_PLUGIN_VERSION_MISMATCH ```
If you have a response schema that looks like: ``` responses: 400: description: Failure, see body content: application/json: schema: type: string '200': description: Successfully returning document content: application/pdf: schema: type:...