eliminates dependence of error middleware on ab_testing_tool so that it can become its own project