You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I set up the error parser to parse these kind of message. I am catching errors in my axios plugin but want to set the parser up globally to parse the ResponseStatus.ErrorCode, ResponseStatus.Message and ResponseStatus.Errors
I am getting Error responses from my API in the below way.
{"ResponseStatus":{"ErrorCode":"Unauthorized","Message":"Not Authenticated","Errors":[]}}
How can I set up the error parser to parse these kind of message. I am catching errors in my axios plugin but want to set the parser up globally to parse the ResponseStatus.ErrorCode, ResponseStatus.Message and ResponseStatus.Errors