Flow network response information to "parse error" use cases.
#2469

Assignees

Labels

Projects

Milestone

4 participants

When a parse error occurs from reading a network response chances are it's a network related issue. Therefore we should flow through network related information to the error handler so that users can handle the errors appropriately.

What about the cases where we have parse failures where there is no XHR request? Do we just want to ignore these situations and not pass any network related information to the error handler?

It's very unlikely for any other non-ajax related transports to throw parse failures due to the network since they're all long running. I'm O.K. with not passing any data for those, @davidfowl what do you think?