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
Release history Release notifications | RSS feed
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 details)
Built Distribution
errui-0.1.0-py3-none-any.whl
(3.8 kB
view details)
File details
Details for the file errui-0.1.0.tar.gz
.
File metadata
- Download URL: errui-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.10.79-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f2be9e5cf83f69a44866286eafa073eadcec63931c202c3ab7fdeeeceb0a42 |
|
MD5 | dd6a7bc83eadb476d0ba1fba7e13f4c0 |
|
BLAKE2b-256 | a60ab81ab814d223557f0484cbfe3fade2cea17fffe4e88965377b7e1717de91 |
File details
Details for the file errui-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: errui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.10.79-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be5649dad289986e35fface450b0fdd22757abcc201f0715312891c05ec2e05 |
|
MD5 | 12c7cefffd21987389255f14178bde6d |
|
BLAKE2b-256 | a0802678a9323b3694ea23da8065798f41b0e6d75c66cfaee8c1116fafe944f7 |