OP here—thanks for all the replies! Definitely confirms what I was seeing.
Gonna try wrapping fetch in a helper like some of you suggested. Also, `axios` and `ky` look interesting—might give those a shot too.
Still weird that fetch doesn’t throw for HTTP errors by default, but hey, now I know!
(And yeah, typing this on my phone again, so forgive any typos lol).
Gonna try wrapping fetch in a helper like some of you suggested. Also, `axios` and `ky` look interesting—might give those a shot too.
Still weird that fetch doesn’t throw for HTTP errors by default, but hey, now I know!
(And yeah, typing this on my phone again, so forgive any typos lol).
