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

In reply to saritr:

In my opinion, if there is at least one error message in the test, then it is FAILED test.
If you want kill your test which should end like PASSED test, you can choose the first way.
If you dont care about it, you can choose any way.