Terminate Gatling scenario on failing assertion?

Is there such a way?

For example, I would like my scenario to run until there are more than 5% failing requests. I’ve put an assertion


but I see no way to abort the scenario.

No, not supported atm.

Thanks for the answer.