7. ASOLib—OpenROAD Server Library : ASOLib User Classes : uc_osca (OpenROAD Server) : GetErrorType Method (OpenROAD Client)
 
Share this page                  
GetErrorType 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. It returns the integer error type currently in the referenced instance of uc_osca. One of the following values is returned:
0
Specifies that there is no error or message
1
GC_I_ER_FATAL (integer value 1)
2
GC_I_ER_USER (integer value 2)
3
GC_I_ER_INFO (integer value 3—not an error—attribute v_msg_txt contains a message)
Parameters: None
Return Data Type: integer
Example—GetErrorType Method:
i_retval = OSCA.GetErrorType();