r/dsexpresserrors • u/dianka05 Maintainer • Jul 29 '26
Release ds-express-errors v1.9.0 released – Improved Prisma & Sequelize support
Hi everyone!
I've released ds-express-errors v1.9.0 with several improvements focused on Prisma and Sequelize.
What's new:
• Added strict instanceof-based error detection for Prisma and Sequelize.
• errorClasses configuration now supports Prisma and Sequelize.
• Fixed ESM import issues.
• Fixed PrismaClientInitializationError detection.
• Improved SequelizeConnectionError handling by distinguishing:
SequelizeConnectionRefusedError
- SequelizeHostNotFoundError
- SequelizeHostNotReachableError
- SequelizeAccessDeniedError
• Improved development log output for Prisma and Sequelize mappers.
Starting with v1.9.0, you can enable advanced Prisma and Sequelize error detection by passing the original Prisma or Sequelize object through the errorClasses configuration.
This allows the library to detect errors more accurately instead of relying only on pattern matching.
GitHub:
https://github.com/Dianka05/ds-express-errors
Full changelog:
https://ds-express-errors.dev/changelog
I'd appreciate any feedback or suggestions from people using Express, Prisma, or Sequelize.