}
@dagger.Module(overrides = true, library = true, includes = TestInterface.Module.class)
static class RetryableExceptionOnRetry {
@Provides Decoder decoder() {
return new StringDecoder() {
@Override
public Object decode(Response response, Type type) throws IOException, FeignException {
String string = super.decode(response, type).toString();
if ("retry!".equals(string))
throw new RetryableException(string, null);