LodeHQ
AI news for people who shipFree, by email

Dev · jasnell.me · Monday, 20 July 2026

Fetch API’s generic TypeError hides critical HTTP/2 & HTTP/3 error codes

The Fetch spec collapses all network failures into a bare TypeError, discarding the rich error codes that HTTP/2 and HTTP/3 provide, such as REFUSED_STREAM, which can signal safe retries. A TC39 proposal to add a standardized .code property to Error would let developers surface these codes without a new API.

Read the source: jasnell.me ↗In the 20 July issue →