gocardless/statesman — pull request #64 by greysteil (2014-07-16 13:54:43+00:00)
Title: Raise RaceConditionError for race condition failures

In some circumstances it would be useful to retry failures due to race conditions. This PR ensures statesman raises a `Statesman::RaceConditionError` when a transition fails due to a race. That could then be used to retry the transition.