How To Stop Triggering Other Function If Validation Function Throws

How To Stop Triggering Other Function If Validation Function Throws