{"repo":"alex-oleshkevich/starception","free":true,"listed":false,"github":"https://github.com/alex-oleshkevich/starception","clone":"git clone https://github.com/alex-oleshkevich/starception.git","description":"Beautiful exception page for Starlette apps.","language":"CSS","stars":102,"topics":["debugger","error-handler","exceptions-handling","fastapi","starlette"],"license":"MIT","category":"dev-tools","readme_excerpt":"Starception Beautiful exception page for Starlette and FastAPI apps. Screenshot Dark theme Features secrets masking with reveal button solution hints exception notes (Python 3.11+) exception chains code snippets with syntax highlighting request info: query params, headers, cookies session contents request and app state platform information environment variables open paths in editor (VSCode; extensible via custom link templates) dark theme Installation With syntax highlighting Install with the highlight extra for syntax-highlighted code snippets: Usage Starception works only in debug mode — make sure debug=True is set on your app. Call install error handler before creating your application instance: Starlette FastAPI See the example application in the examples/ directory for a full demo of all features. Integration with other frameworks Starception exports starception.exception handler(request, exc) , which you can use directly. Keep in mind that Starlette will not call custom exception handlers in debug mode — it always uses its built-in one. The snippet below will not work as expected: Use install error handler() instead (shown above). Secrets masking Starception automatically masks values whose key contains key , secret , token , or password , and redacts passwords from URL-valued keys (e.g. database url ). Masked values are replaced with and can be revealed by clicking the reveal button next to them. Solution hints If an exception class has a solution attribute, its conten","default_branch":null,"files":null,"tree":[],"storefront":"/r/alex-oleshkevich","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alex-oleshkevich/starception/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}