Diana Stoyka

Diana Stoyka

Developer

Badges

Tastemaker
Tastemaker
Gone streaking 10
Gone streaking 10
Gone streaking
Gone streaking
Gone streaking 25
Gone streaking 25
View all badges

Maker History

  • ds-express-errors
    ds-express-errorsPredictable, centralized error handling for Express.js APIs
    Jan 2026
  • 🎉
    Joined Product HuntJanuary 1st, 2026

Forums

ds-express-errors — v1.9.x Update

A lot has changed across the v1.9.x releases.

  • Added stricter and more accurate Prisma & Sequelize error detection

  • Added configurable errorClasses support for Prisma and Sequelize

  • Improved Sequelize connection error mapping

  • Improved production-safe error responses across Zod, Joi, express-validator, Mongoose, Prisma, Sequelize, and JWT

  • Added separate JWT error handling to prevent sensitive details from leaking in production

  • Improved TypeScript definitions and fixed several missing types

  • Fixed ESM imports and Prisma initialization error detection

  • Improved development logs and expanded test coverage

  • Updated documentation around configuration, "NODE_ENV", library errors, and mapper behaviour

  • Added missing "jwt" property for "needMappers"

  • Fixed "needMappers" being incorrectly typed as a single string union instead of an array

  • Updated "asyncHandler" to preserve Express generic request types

  • Additional README updates

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 mongoose and sequelize mappers.

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

View more