ImageGear Professional > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_error_check |
This function returns the number of errors currently on the ImageGear error stack.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_error_check(); |
None
Returns the number of errors on the error stack. If errors occur during this function call, the function returns (AT_ERRCOUNT)-1, but these errors are not appended onto the error stack. A value of zero means no ImageGear errors have occurred during your last IG_ function call.
This function does not process image pixels.
A call to this function has the same effect as a call to IG_err_error_check with nLevel equal to 0.