How to exit from simulation on getting UVM_ERROR

In reply to subhash@ineda:

What if I only want to stop the simulator instead of exit?

Thanks