|
|
@@ -245,12 +245,6 @@ function resolveRedirect(location: string, base: URL): URL {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * Translate a thrown fetch/stream error into a `WebError`. Our own
|
|
|
- * `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other
|
|
|
- * already-typed `WebError` pass through; an `AbortError` becomes `WEB_ABORTED`;
|
|
|
- * anything else is a transport/network failure (`WEB_PROVIDER_ERROR`).
|
|
|
- */
|
|
|
/**
|
|
|
* Translate a thrown fetch/stream error into a `WebError`. Our own
|
|
|
* `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other
|