Re: [whatwg/fetch] More informative error types (#526)

Hi all, I am one of the maintainers of [Ky](https://github.com/sindresorhus/ky), which is a `fetch`-based library for HTTP requests. We would like the ability to differentiate fetch errors from other types of errors, including implementation errors from our users. This currently seems to require inspecting `error.message`, which is full of problems. Among other things, different browsers throw errors with different messages for the same situation. It's very messy. We would very much appreciate any improvements that could be made here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/526#issuecomment-554604080

Received on Saturday, 16 November 2019 04:44:51 UTC