{"repo":"MasoniteFramework/exceptionite","free":true,"listed":false,"github":"https://github.com/MasoniteFramework/exceptionite","clone":"git clone https://github.com/MasoniteFramework/exceptionite.git","description":"A Python Exception Library. Designed to make handling and displaying exceptions a cinch.","language":"Python","stars":127,"topics":["masonite","exception-handler","flask","python","html-page"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"⚠️ This repository is no longer maintained Exceptionite development continues at masonitedev/exceptionite as part of Masonite 5 (a new PyPI package name is coming soon). This repository covers exceptionite ≤ 3.0.0, which will receive no further updates (including security fixes). - 📖 Masonite documentation: ❤️ In memory of Joseph \"Joe\" Mancuso, creator of Masonite. --- Exceptionite A Python exception library designed to make handling and displaying exceptions a cinch. Exceptions can be rendered into a beautiful HTML exception page! or in your terminal: Getting Started First install the package: Then you can follow instruction for your use case: - Masonite - Flask - Django - Django REST framework - Pyramid - Basic Python Usage for Masonite Masonite 4 is already using exceptionite for its default error page so you don't have anything to set up. If you are using Masonite < 4.0 , please use exceptionite < 2.0 . Usage for Flask If you are using Flask you can also use this package! Here is an example for a flask application: You'll now see this beautiful exception page: Usage for Django You can customize error reports in Django in DEBUG mode as explained in the docs. Install the package if you haven't done so yet Then simple set a default exception reporter to the exceptionite one. Be careful this reporter should only be used for local development with DEBUG=True : If you want Django 404 to be also handled by exceptionite you should add an other reporter: Usage for Django REST fra","default_branch":null,"files":null,"tree":[],"storefront":"/r/MasoniteFramework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MasoniteFramework/exceptionite/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."}