Want to stop simulation when i get a Error/warning

In reply to dave_59:

Hi, Dave.

Is there a way to stop the simulation when a randomization constrain ERROR occured? For me usually that’s not a Warning but an ERROR.
I would like to do it from the vsim command line and not change the modelsim.ini.

Or to put the question in a different way: how can i change the values from modelsim.ini?
Is there an easy way to extend modelsim.ini without opening modelsim.ini and modifying a specific line?

Instead i would like to have like a file (e.g. modelsim_extension.ini) where i could change my own variables.

Thanks,
Aurelian