public Throwable getFailure() {
    return failure;
  }
Returns the {@code Throwable} thrown by the feature method.

@return the current failure
spock-core/src/main/java/org/spockframework/runtime/extension/builtin/RetryConditionContext.java