How to Quit the ovm test by looking at specified message and multiple OVM_ERRORS

Hi Team ,
I want to find the function/method to give the solution for Quit the ovm test by looking at specified message and multiple OVM_ERRORS??
i used set_report_max_quit_count and +OVM_*COUNT in run test ,but it is not finding the solution.

Thanks in Advance.

David Zaqik

In reply to david_zaqik:
You are not very clear what “looking at specified message” means. Also do not know what “+OVM_*COUNT” refers to.

By default all errors have the action: OVM_DISPLAY | OVM_COUNT
and the count is set to quit after the first error
You can use set_report_severity_action_hier() and set_report_severity_id_action_hier() to control which errors get counted, but there only one global error counter.