A transport failure as a JobsucheNetworkError. The default transport rejects with
one already (passed through, its text scrubbed); an injected one may throw anything
(a TypeError from fetch, a string, null), which is wrapped naming the request, with
the original as cause, so every failure stays a JobsucheError. scrub removes
the caller's secrets from the message and the cause chain: fetch's "Request cannot be
constructed from a URL that includes credentials: http://user:pw@…" carries them.
A transport failure as a
JobsucheNetworkError. The default transport rejects with one already (passed through, its text scrubbed); an injected one may throw anything (a TypeError from fetch, a string, null), which is wrapped naming the request, with the original ascause, so every failure stays aJobsucheError.scrubremoves the caller's secrets from the message and the cause chain: fetch's "Request cannot be constructed from a URL that includes credentials: http://user:pw@…" carries them.