Handling prisma errors
Hey, quick question. Let's suppose that in my db I have model User with few unique fields:
name
, surname
, email
Should I validate manually that those fields are unique and throw an error if not or should I just let prisma do it?
I guess that the 2nd solution is better. How do I map prisma errors to show more human friendly messages than this: 0 Replies