- From: silverwind <notifications@github.com>
- Date: Tue, 26 Sep 2023 12:27:08 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 September 2023 19:27:13 UTC
There is now https://github.com/sindresorhus/is-network-error, a bandaid solution that matches on the returned error strings, which all implementations handle differently. This is probably not easily fixable from a spec perspective because code in the wild relies on the existing `TypeError` class, so one can't just introduce a `NetworkError` class now. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/526#issuecomment-1736160508 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/526/1736160508@github.com>
Received on Tuesday, 26 September 2023 19:27:13 UTC