public final @NotNull ActionCallback doWhenRejected(final @NotNull Consumer<? super String> consumer) {
    myRejected.doWhenExecuted(() -> consumer.accept(myError));
    return this;
  }
public final @NotNull ActionCallback doWhenRejected(final @NotNull Consumer<? super String> consumer)