How to check error count directly by using uvm_default_report_server

In reply to Vj_05:

You can use uvm_report_server’s get_severity_count(UVM_ERROR) to check for any errors. This assumes you’ve captured all errors (like from assertions) with UVM messages. Most tools give you ways of checking for the highest severity message generated from anything. You will have to check your tools User Manual for that.