One failure signal for a request outcome, replacing a bare error +
response pair. kind: 'transport' means no response exists at all
(abort, timeout, connection lost) — error is the FetchError, with its
.isCancelled() / .isTimeout() / .isConnectionLost() helpers.
kind: 'http' means the server answered with a non-2xx status — the
response is the resolved, ok-false FetchResponse. Callers check one
field to know "did it fail", then narrow kind to see which channel.
One
failuresignal for a request outcome, replacing a bareerror+responsepair.kind: 'transport'means no response exists at all (abort, timeout, connection lost) —erroris theFetchError, with its.isCancelled()/.isTimeout()/.isConnectionLost()helpers.kind: 'http'means the server answered with a non-2xx status — theresponseis the resolved, ok-falseFetchResponse. Callers check one field to know "did it fail", then narrowkindto see which channel.