Category Sketches and sections, Object ProSecerror

Function ProSecerrorItemGet


Description
Retrieves the entity that generated the error from the ith entry in the error table.
Synopsis
#include <ProSecerror.h>
ProErrorProSecerrorItemGet(
ProWSecerror UserErr
/* (In)
A pointer to the errors table
*/
int ith
/* (In)
The number of the table entry
*/
int* r_item
/* (Out)
The identifier of the entity that generated the error
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Element Trees: Sections: Error Reporting
  2. Element Trees: Sections: Error Reporting

Sample Code References:

  1. pt_examples ( TestSecerr.c )
  2. pt_userguide ( Ug3DSection.c )
  3. pt_userguide ( UgSktFirstFeatureCreate.c )
  4. pt_userguide ( UgSktFirstFeatureRevCreate.c )