GetErrorNo Method (OpenROAD Client)
This error handler method can be invoked at any time—typically after making a call to a GSCP. It can be used in conjunction with the CheckAndHandleError() method; for example, it can be called from within GV_V_OSCA_FATALERROR_PROC and GV_V_OSCA_USERERROR_PROC. It returns the error number currently in the referenced instance of uc_osca. Zero means no error occurred. Negative error numbers are reserved for use by ASOLib.
Parameters: None
Return Data Type: integer
Example—GetErrorNo Method:
i_retval = OSCA.GetErrorNo();