Skip to main content
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

Release files for haiku-errors 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haiku-errors 0.3.0
File Size Uploaded
haiku-errors-0.3.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for haiku-errors 0.3.0
File Interpreter ABI Platform
haiku_errors-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.3 kB

Release files / haiku-errors-0.3.0.tar.gz

Download URL haiku-errors-0.3.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8a6867a50977df7b681fcb399c227363035b079454cee87933370d6e6043fd06
BLAKE2b-256 checksum
How to use checksums
8b9b6c71fddf669d5931b5430c3d0761506cfcd714c0afdc80093b012b7134d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / haiku_errors-0.3.0-py2.py3-none-any.whl

Download URL haiku_errors-0.3.0-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3bdcc4a9d9ea85e8c5b1f53638c2f717ba419da720d9abd18db6463aa92b2c42
BLAKE2b-256 checksum
How to use checksums
dd876d67cd7dc4bebdf37cd16f9339481faa8c7f6f4295058f06a0433afc74fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page