Handling Error
Here is the mutation fn
but in error i get
Request failed with status code 400 this but i want the payload that has been sent from the api... what to do and can someone point me to right direction how to utilize if api sent status code like 400, 500, how to handle error in those situation in react query