ImageGear for C and C++ on Linux v19.10 - Updated
IG_error_check
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_error_check();

Arguments:

None

Return Value:

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.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

A call to this function has the same effect as a call to IG_err_error_check with nLevel equal to 0.

See Also

IG_error_get

IG_error_set

IG_error_clear