Haiku error messages for Python
Project description
- To have no errors Would be life without meaning No struggle, no joy
~ (Brian M. Porter)
haiku-errors
Just import haiku_errors to print a haiku whenever exception is not handled:
$ python -c "import haiku_errors; raise SystemError"
Traceback (most recent call last):
File "<string>", line 1, in <module>
SystemError
Something has gone wrong.
Format your disk, because this
Error won't help you.
~ (Cheryl Walker)
One liner example without explicit raise:
$ python3 -c "import haiku_errors; f = lambda: f(); f()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
LookupError
The ten thousand things,
How long do any persist?
Netscape, too, has gone.
~ (Jason Willoughby)
To install run:
$ pip install haiku-errors
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
haiku-errors-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file haiku-errors-0.1.0.tar.gz
.
File metadata
- Download URL: haiku-errors-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 081a8041d6a957ff3797612122c65a1a6fdcb011cf55baf5d151a2691c979af9 |
|
MD5 | 298cc6682c237950b5c4b9aa1d596c11 |
|
BLAKE2b-256 | 77f54b1f3dd94818ee64e2afac53d176d77c22ed238f7951d17ba3ace5c8b734 |
File details
Details for the file haiku_errors-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: haiku_errors-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b0eeb7edccf4adc67f3fa4daf8fe4f6b70ebff2b810eb308c1e3e66769ee7e |
|
MD5 | 64894c03df3b62526ce0a894d43a4085 |
|
BLAKE2b-256 | eb85ddef7d47975d48909d931174c17fe92abeb2e516f898170e331bd3824802 |