How can exit a scenario when I reach a certain point?

So I’d like to achieve something similar to the example below, in other words
exit the scenario when the user reached this point.

.exec(somthing)
.exec(somthing2)
.exec(something3)
.exitHere

Gatling docs states that .exitHere is a valid component but it is not available on
my Gatling 3.4. What am I missing?

Thank you