substack/node-recon — pull request #1 by alexkwolfe (2014-09-21 20:53:12+00:00)
Title: retryErrors option for customizing the list of errors that trigger reconnection

I found that I wanted recon to reconnect on other errors in addition to `ECONNREFUSED`. So I added the `retryErrors` option which allows me to customize the list of errors that will trigger reconnection. The default is to reconnect only on `ECONNREFUSED`.