client-request
client-request copied to clipboard
set code = 'ECONNRESET' on timeout errors
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
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...)