We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are many exceptions in Web that are recurring. We should be exposing them so that the developers don't have redo the task again and again
The text was updated successfully, but these errors were encountered:
Hey @sansyrox, Do you mean something like this while referring to custom exceptions
from robyn import Robyn, HTTPException app = Robyn(__file__) items = {"foo": "The Foo Wrestlers"} @app.get("/items/{item_id}") async def read_item(request, item_id: str): if item_id not in items: raise HTTPException(status_code=404, detail="Item not found") return {"item": items[item_id]}
Sorry, something went wrong.
Hey @Mr-Sunglasses , yes!
Successfully merging a pull request may close this issue.
There are many exceptions in Web that are recurring. We should be exposing them so that the developers don't have redo the task again and again
The text was updated successfully, but these errors were encountered: