This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/exceptions/ocr-exception.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. OcrException

Represents an exception thrown when an OCR operation fails, such as rendering a page for recognition or writing the recognized text layer back onto the page.

from nutrient_sdk import OcrException

Inherits from: NutrientException

Construction

OcrException()

Creates a new OcrException instance with default settings.

Properties

exception_reason

@property
def exception_reason(self) -> str

The reason the exception was thrown.

Type: str

Read-only property.