Skip to content

exceptions

BadRequest (StrReprMixin, HTTPException)

400 Bad Request

Forbidden (StrReprMixin, HTTPException)

403 Forbidden

InternalServerError (StrReprMixin, HTTPException)

500 Internal Server Error

NotFound (StrReprMixin, HTTPException)

404 Not Found

NotImplementedResponse (StrReprMixin, HTTPException)

501 Not Implemented

StrReprMixin (HTTPException)

This mixin can be useful when testing requires a string representation of an exception that contains the HTTPException detail string, rather than the standard Python exception message.

UnprocessableEntity (StrReprMixin, HTTPException)

422 Unprocessable Entity

VersionNotSupported (StrReprMixin, HTTPException)

553 Version Not Supported