Skip to content
This repository has been 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
natygyoon opened this issue Jan 20, 2023 · 0 comments

Comments

@natygyoon
Copy link
Contributor

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant