HC_Generate_Error
-
void
HC_Generate_Error(int level, int category, int specific, char const *buf1, char const *buf2, char const *buf3) - void HC_Generate_Error(int level, int category, int specific, char const buf1, char const buf2, char const buf3)
Injects an error into HOOPS 3DF.
- 0 : info.
- 1 : warning.
- 2 : error.
- 3 : fatal error.
The error message is passed via the buf parameters. If your error message has multiple lines, pass one line per parameter. For instance,if your message has one line, only pass a string for buf1. On the other hand, if your message has two lines, pass the first line as a string for buf1 and the second line as a string for buf2.
HC_Report_Error, HC_Define_System_Options.Parameters
level: Severity of the error. See details.
category: A numeric code identifying the general categorythe error belongs to.
specific: A numeric code uniquely identifying the specificerror.
buf1: The first part of the error message. See detailsone line per string. Passed by reference in all languages.
buf2: The second part of the error message. See detailsone line per string. Passed by reference in all languages.
buf3: The third part of the error message. See detailsone line per string. Passed by reference in all languages.