Brief Index      Full Index      Events Index      I.M. Reference

Show_Error

Functions

HC_BOOLEAN Show_Error (char *severity, int *category, int *severity_level)
 

Detailed Description

Function Documentation

HC_BOOLEAN Show_Error ( char *  severity,
int *  category,
int *  severity_level 
)

Shows whether a severity was generated during the previous HOOPS call and returns the error components if true.

Parameters
severity- The error severity (info, warning, error, fatal error). Passed by reference. Returned to user
category- A numeric code identifying the general category to which the error belongs. See Report_Error(). Passed by reference. Returned to user.
severity_level- Severity of the error. (0, 1, 2, 3) (info, warning, error, fatal error). Passed by reference. Returned to user.
Returns
error_happened Boolean value indicating whether a severity was generated.

DETAILS

This function indicates whether a severity was generated during the previous Hoops call. The arguments for the specific message componments are not modified if there was no error, otherwise the severity string is filled in with "informational", "warning", or "error" and the numeric values are set.

See Also
Report_Error, Define_System_Options

Brief Index      Full Index      Events Index      I.M. Reference