client-request icon indicating copy to clipboard operation
client-request copied to clipboard

set code = 'ECONNRESET' on timeout errors

Open Fishrock123 opened this issue 6 years ago • 1 comments

This allows for easy differentiation of timeout errors, which client wrappers may often want to attempt a retry when encountered.

Fixes https://github.com/brycebaril/client-request/issues/14

@brycebaril

Fishrock123 avatar Jul 24 '19 00:07 Fishrock123

Ok I added some tests but the test suit doesn't pass for me in the first place.

(https://local.ldsconnect.org: has issues on macOS? Changing that to localhost fails because of the certs...)

Fishrock123 avatar Jul 24 '19 23:07 Fishrock123