{"library":"fastify-http-errors-enhanced","type":"library","category":null,"description":"This plugin for Fastify integrates `http-errors-enhanced` to provide comprehensive and customizable error handling for web applications. It allows developers to configure how 404 errors are handled, whether unhandled server errors expose stack traces in production, and how validation errors (both request and response) are structured. The current stable version is 7.0.1. Releases appear to follow major version bumps for Node.js compatibility changes and minor/patch releases for bug fixes and dependency updates, indicating an active and well-maintained project with a steady, predictable cadence. A key differentiator is its ability to convert validation errors into a structured, human-readable format and its extensibility for modifying error processing or customizing AJV instances for response validation. It provides a consistent error response format compatible with standard Fastify errors, capable of including custom properties and headers derived from the enhanced error objects.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript","fastify","fastify-plugin","http-errors","http-errors-enhanced","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fastify-http-errors-enhanced","imports":["import fastifyHttpErrorsEnhanced from 'fastify-http-errors-enhanced'","import { NotFoundError } from 'http-errors-enhanced'","import type { FastifyHttpErrorsEnhancedOptions } from 'fastify-http-errors-enhanced'"]},{"cmd":"yarn add fastify-http-errors-enhanced","imports":[]},{"cmd":"pnpm add fastify-http-errors-enhanced","imports":[]}],"homepage":"https://sw.cowtech.it/fastify-http-errors-enhanced","github":"https://github.com/ShogunPanda/fastify-http-errors-enhanced","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fastify-http-errors-enhanced","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fastify-http-errors-enhanced/compatibility"}}