ImageGear for C and C++ on Linux v18.10 - Updated
IG_err_error_check
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Error Functions > IG_err_error_check

This function returns the number of records of the specified level on the error stack.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_err_error_check(
   UINT nLevel
);

Arguments:

Name Type Description
nLevel UINT Level of errors to return. 0 means critical errors (function failure), greater levels denote warnings.

Return Value:

Returns the number of records of the specified level 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.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT errCount;
// get number of records of level 0
errCount = IG_err_error_check(0);

See Also

IG_err_callback_get