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

Unfortunately I missed the nuance in the more recent replies that are not asking for more granularity but instead are asking for distinguishing the exception when you are further away from the caller. I suppose one thing we could do is try to standardize the `message` value. Looking at https://github.com/sindresorhus/is-network-error/blob/main/index.js Chromium's "`Failed to fetch`" seems pretty reasonable.

That's not a great solution, but it's an improvement.

I'm not entirely sure what a great solution would look like.

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

Message ID: <whatwg/fetch/issues/526/1738727012@github.com>

Received on Thursday, 28 September 2023 08:44:52 UTC