pdfextract API
    Preparing search index...

    Function workerError

    • The error for a failed worker scan. Its message starts with a code for failures the extension recognizes (RESOURCE_LIMIT_EXCEEDED: …); anything else gets fallback, the code of the operation (image errors for image scans, UNSUPPORTED_PDF_FEATURE for rule scans).

      Parameters

      • message: string
      • fallback: ErrorCode
      • pageNumber: number

      Returns PdfExtractError