Next.JS – little decorator (Higher Order Function) to handle Prisma errors

I’m fairly stunned I could not discover any generic approach to deal with exception from prisma consumer, so I wrote my very own decorator.I’m simply beginning studying Subsequent.js, so my method may very well be very naive although, let me know in case you see any enhancements right here. It hides the error particulars for […]