Skip to main content

Error handling for end users

Project description

ErrUI

Open a window when an exception is raised and prompt the end user to decide what to do.

Installation

python -m pip install errui

Example

AbortWindow (Optional suppression)

This is like contextlib.suppress except you get to choose whether to suppress it or to let the exception through and still be raised.

from errui import AbortWindow

with AbortWindow(KeyError):
    {}[0]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

errui-0.1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

errui-0.1.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page