fix: remove stale duplicate JSDoc on translateAbortOrNetwork
The function carried two consecutive JSDoc blocks; the first was an outdated short version missing the timeout-recovery contract. Keep only the accurate detailed block.
This commit is contained in:
@@ -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
|
* Translate a thrown fetch/stream error into a `WebError`. Our own
|
||||||
* `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other
|
* `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other
|
||||||
|
|||||||
Reference in New Issue
Block a user