Best Products
Launches
Launch archive
Most-loved launches by the community
Launch Guide
Checklists and pro tips for launching
News
Newsletter
The best of Product Hunt, every day
Stories
Tech news, interviews, and tips from makers
Changelog
New Product Hunt features and releases
Forums
Forums
Ask questions, find support, and connect
Kitty Points Leaderboard
The highest scoring community members
Streaks
The most active community members
Events
Meet others online and in-person
Advertise
Subscribe
Sign in
Clear text
recent
p/ds-express-errors
by
Diana Stoyka
•
8mo ago
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. What does this mean? Starting from version 1.8.0 and above, you can choose which mappers are enabled, so unused ... ... mappers are not processed, improving performance. This version also introduces the ability (currently for Zod and
Joi
0
2
p/self-promotion
by
Diana Stoyka
•
8mo ago
An Express library for centralized error handling
... middleware added after all routes, so error handling logic is not duplicated across the app. Preset standard HTTP error classes like 4xx, 5xx that can be thrown directly from handlers. Automatic mapping of common library errors such as Zod,
Joi
, Prisma, Mongoose, Sequelize and JWT into consistent HTTP responses. Support for async and await errors so rejected promises are handled safely. Built-in logging with optional integration of external loggers like Winston or Pino . Full customization of error responses ...
0
4
Subscribe
Sign in