exb_sdk.workflow_client.exceptions

Exceptions

DocumentProcessingError

Raised when an error occurs during an extraction.

HttpError

Raised when an HTTP unhandled error is returned by the app.

WaitForResultCancelledError

Raised when the client is closed while extractions are running.

Module Contents

exception exb_sdk.workflow_client.exceptions.DocumentProcessingError[source]

Bases: Exception

Raised when an error occurs during an extraction.

message = 'Error processing document'
exception exb_sdk.workflow_client.exceptions.HttpError(message, response)[source]

Bases: Exception

Raised when an HTTP unhandled error is returned by the app.

Parameters:
  • message (str)

  • response (httpx.Response)

response
exception exb_sdk.workflow_client.exceptions.WaitForResultCancelledError[source]

Bases: Exception

Raised when the client is closed while extractions are running.

message = 'Wait for result cancelled for document'