Re: [fetch] Distinguishing between errors (#25)

The main reason we do not have granularity for "network error" (which results in `TypeError` here) is because we do not want to give attackers more information about the network than strictly needed.

On the server this is probably less of a concern. Perhaps just adding an expando on the `TypeError` object as a hack? A server-side implementation obviously doesn't have to follow the constraints we have.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/25#issuecomment-86364753

Received on Thursday, 26 March 2015 07:04:48 UTC