Is there a specific way to stop the test/simulation in case condition failure?

The best way ist to use
set_report_severity_action.
There you can specify what you want.
In most cases you don’t want stop immediately if you found the first error. You can define after how many errors the simulation should stop.
In case of an fatal you should stop immediately.