ds-express-errors β v1.8.0 & v1.8.1 Release Notes
Version 1.8.0 β January 11, 2026 Added support for user-provided error classes in custom mappers (Zod, Joi). Added the ability to enable only selected mappers via configuration, reducing unnecessary checks. Added rate limiting for the logger. Fixed incorrect logic in the express-validator mapper. Expanded supported Prisma errors: P2005, P2006, P2007, P2011, P2027. Improved validation logic for...
ds-express-errors v1.7.0 β express-validator support
Released v1.7.0 of ds-express-errors. Whatβs new: Added express-validator error mapping Improved Mongoose and Prisma error checks Safer setConfig validation Logger bug fix and internal refactoring π Docs and changelog
An Express library for centralized error handling
Express apps often end up with scattered error handling. Try catch in routes, inconsistent responses, duplicated logic. Centralizing this logic can make apps more predictable and easier to maintain. I published a open source error handling library called ds-express-errors that tries to address these issues in a structured, minimal way. Here is what it provides: Centralized error middleware...
