LibraryActive

FastAPI HTTPException

Exception class for raising HTTP client errors in FastAPI apps.

Open source page ↗

Product features

Product features

detail

Any data to be sent to the client in the detail key of the JSON response.

Example ¶

FastAPI Conf ¶

FastAPI mini documentary ¶

FastAPI ¶

Gold Sponsors ¶

headers

Any headers to send to the client in the response.

Installation ¶

Keystone Sponsor ¶

Opinions ¶

Requirements ¶

Silver Sponsors ¶

Sponsors ¶

status_code

HTTP status code to send to the client.

Typer , the FastAPI of CLIs ¶