Drizzle error instance
Is there a Drizzle error type that i can use for my Fastify global error handler ??
What im looking for is maybe something like the prisma error type
this is how my global error handler looks :
If there is a better way to handler db errors that i can use please tell me
What im looking for is maybe something like the prisma error type
Prisma.PrismaClientKnownRequestError, And what i want is to identify the drizzle error so i can handle them properly.this is how my global error handler looks :
If there is a better way to handler db errors that i can use please tell me