- From: Pauan <notifications@github.com>
- Date: Sat, 12 Oct 2019 02:10:20 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 12 October 2019 09:10:23 UTC
@Mouvedia You are misunderstanding. Failure is not the same as an error. There is no error if the server fails to send data, there is simply nothing. That is why you are supposed to add in a timeout. The timeout will throw an `AbortError` if the server takes too long to send the data: https://dom.spec.whatwg.org/#abortcontroller-api-integration -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/20#issuecomment-541304812
Received on Saturday, 12 October 2019 09:10:23 UTC