Non-retrieable errors
In got@5
we introduced retries
option, which (as name says) retry request on every Error. For most errors this was right thing to do, but in case ENETUNREACH
and ENOTFOUND
retries are pointless.
This version removes retries from such errors, so you will get instant error, when typo gets into configs.