Skip to content
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

@natygyoon

Description

@natygyoon

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions