We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse's error handling and error codes aren't the best but we should definitely make them more useful.
Current implementation of normalizeErrorResponse() looks for the errors key in the payload, it if it doesn't find it it'll return:
normalizeErrorResponse()
errors
[ { status: `${status}`, title: "The backend responded with an error", details: `${payload}` } ];
I think the least we cold do is return whatever payload is in our normalizeErrorResponse. Thoughts?
payload
normalizeErrorResponse
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Parse's error handling and error codes aren't the best but we should definitely make them more useful.
Current implementation of
normalizeErrorResponse()
looks for theerrors
key in the payload, it if it doesn't find it it'll return:I think the least we cold do is return whatever
payload
is in ournormalizeErrorResponse
. Thoughts?The text was updated successfully, but these errors were encountered: