Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feat/ignore fetch network error #38
Conversation
@@ -38,7 +38,7 @@ const run = async () => { | |||
|
|||
Returns a `Promise` that is fulfilled when calling `input` returns a fulfilled promise. If calling `input` returns a rejected promise, `input` is called again until the maximum number of retries is reached. It then rejects with the last rejection reason. | |||
|
|||
It doesn't retry on `TypeError` as that's a user error. | |||
It doesn't retry on `TypeError` as that's a user error. The only exclusion is fetchApi's 'Failed to fetch' error which can be a network error. See [the docs](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch), and [this issue](https://github.com/whatwg/fetch/issues/526) |
sindresorhus
Nov 24, 2020
Owner
I think this sentence could be written better.
You also need to update index.d.ts
I think this sentence could be written better.
You also need to update index.d.ts
Fixes issue #37