We are trying to configure the way an error from the GraphQL resolver is handled in the refine.
We are sending the request using
Any help would be very much appreciated here.
useCreate hook from refinedev/core and the Apollo Server is throwing an INTERNAL_SERVER_ERROR. Whenever Refine, receives this response, it automatically triggers a notification with the raw request in the body like the one here below.Current Output
Expected output should be something like
Error: Duplicate barcodeAny help would be very much appreciated here.
