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.2.0.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file haiku-errors-0.2.0.tar.gz
.
File metadata
- Download URL: haiku-errors-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142bb8dcb1e26aa2db9d089573fef2d1fe2eff128115bc0ed53eca2cd7e77a81 |
|
MD5 | bf71c0562644a19cf96858dee076410c |
|
BLAKE2b-256 | 14fd40aeee37746c454b64fd4deda00d4ab0640eaa60d69f0d5bc8b8ed3dd6d6 |
File details
Details for the file haiku_errors-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: haiku_errors-0.2.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 | 30751c0a99c89fc77ebad4d0e6d1157b7fa948debaa473f500067c50a8a468f5 |
|
MD5 | fbc9797b8f063168fd1ab75e41d07485 |
|
BLAKE2b-256 | 142a5172fcb1cc0ef2b96d146f6e447d6f78e99ce17bc71589d2256223fd6e67 |