Thrown for a PDF asked for while OCR is off, and for a scan whose pages gave no text. For the second, cause is the first failure officeparser reported for a picture OCR could not read, when it reported one.
cause
Which of the two it is.
Readonly
A stable code for callers that branch on the kind of failure.
Thrown for a PDF asked for while OCR is off, and for a scan whose pages gave no text. For the second,
causeis the first failure officeparser reported for a picture OCR could not read, when it reported one.