how can I create custom errors in VC ops ?
like if a guest CPU is high , can I have it generate a custom error and not the one that comes with it ?
Those are called "Alerts"
Try using the help and the built-in video tutorials on creating Symptoms and Alerts, and how to use them etc.
Those are some the building blocks of vROps.