seancribbs/ripple — comment on commit e5f24a5d54cd1f8f3bac3354cbbbd0c71b8a8d6d
File:  line 0
By myronmarston:

How did you arrive at this list of errors? In our app we have retry logic for `Excon::Errors::SocketError` and it's not subclassed from any of these so it wouldn't be handled, but I think it should. However, it's specific to the HTTP library you use so it can't be added globally here.

We also globally handle and retry `Riak::HTTPFailedRequest` and `Riak::MapReduceError`. All of our riak requests are idempotent so it's safe to retry any such transient error. I'm not sure if that can be assumed for all users of ripple. Maybe we need an API for configuring what errors should be automatically retried?