app.errors module

app.errors.handle_http_exception(e: HTTPException)[source]

Return JSON instead of HTML for HTTP errors.

app.errors.handle_validation_error(e: ValidationError)[source]