Removed the VReportError() function and moved its functionality into the