This repository was archived by the owner on May 22, 2024. It is now read-only.
This repository was archived by the owner on May 22, 2024. It is now read-only.
Establish the pattern for pipeline_api’s to surface validation errors in a web API response #79
Open
Description
This could be done in several different ways as follows:
- pipeline_api just directly raises a
fastapi.HTTPException
- unstructured-api-tools catches ValueError’s and re-raises as
fastapi.HTTPException
- an unstructured Exception class is defined in
Unstructured
, and unstructured-api-tools appropriately handles that
Metadata
Metadata
Assignees
Labels
No labels