ImageGear for C and C++ on Windows v19.4 - Updated
Error Handling
User Guide > How to Work with... > OCR > Concepts > Error Handling

ImageGear Recognition component reports errors in the same way as other ImageGear components do. When an error occurs in the underlying Recognition modules, ImageGear reports an error with error code IGE_REC_EXTENDED_ERROR or IGW_REC_EXTENDED_WARNING. You can use the IG_err_record_get() function to obtain the original error code and error description from the underlying Recognition modules.