#Issue with the new rust-free prisma query engine with adapter-pg error object format

3 messages · Page 1 of 1 (latest)

austere tulip
#

trying the new prisma rust free engine, we've noticed different error.meta structure! (basic err case of unique constraint violation)

  1. why https://github.com/prisma/prisma/blob/423b58507879080bdc1273ca5d30b3de87e5b766/packages/driver-adapter-utils/src/error.ts are not exported?
  2. error.message seems not properly crafted, such (check attached)
  3. error.meta.target is not there anymore!
GitHub

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB - prisma/prisma

flint pebbleBOT
#

You selected to wait for the human sages. They'll share their wisdom soon.

Grab some tea while you wait, or check out #ask-ai if you'd like a quick chat with the bot anyway!

austere tulip
#

Issue with the new rust-free prisma query engine with adapter-pg error object format