- From: Jake Archibald <notifications@github.com>
- Date: Mon, 26 Jun 2023 06:09:17 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 26 June 2023 13:09:23 UTC
In terms of naming, `response.assertOk()` might make more sense, to avoid the 'not'. I think the trick here is to make the error message useful to reporting systems. I know error text isn't usually spec'd, but it seems like the error message should include the `status` and `statusText`. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1679#issuecomment-1607438218 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1679/1607438218@github.com>
Received on Monday, 26 June 2023 13:09:23 UTC