I'm still newish to graphql + prisma, is there a l...
# orm-help
r
I'm still newish to graphql + prisma, is there a library that makes tidying up errors possible? i.e.
Copy code
"message": "A unique constraint would be violated on User. Details: Field name = emailAddress",
I'd like to intercept that message and make it user friendly so I can present it back to the site visitor.
h
You can use feature built into apollo server itself
Apollo Errors is also a great library
r
@Harshit thanks so much
🙌 1