Skip to content
1 min read · 35 words

Variable: E_INVALID_TESSERACT_JS_OCR_OPTIONS ​

ts
const E_INVALID_TESSERACT_JS_OCR_OPTIONS: CreatedException<[string]>;

Defined in: src/batteries/specialists/ocr/tesseract_js/exceptions.ts:19

Thrown when the resolved adapter options fail validation against tesseractJsOcrOptionsSchema — e.g. a missing/empty languages or an unknown option key. Fatal: config bugs fail loud, not at recognize time.