ImageGear PDF v24.14 - Updated
Error Handling
User Guide > How to Work with... > OCR > Concepts > Error Handling

The ImageGear Recognition API reports errors in the same way as other ImageGear APIs. When an error occurs in the underlying Nuance modules, ImageGear throws an ImGearException with ErrorCode of REC_ENGINE_FAILURE. You can use the Value1 property of ImGearException to obtain the original error code from the recognition engine. This error code is a member of the ImGearRecErrorCodes enumeration.