Skip to main content

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:

$ 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)

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.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

haiku_errors-0.0.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file haiku-errors-0.0.0.tar.gz.

File metadata

File hashes

Hashes for haiku-errors-0.0.0.tar.gz
Algorithm Hash digest
SHA256 5e8d724349cb1dc93e1dba9099d34033a66080f5b064c5ed77677d4e38c31ae7
MD5 e6a53ae8e9d3304ccb9a956012f03c9a
BLAKE2b-256 8640961a0a992768bfffd98045cba762f3983631df97575c6757592fbef8f620

See more details on using hashes here.

File details

Details for the file haiku_errors-0.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for haiku_errors-0.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9aa0eda85719e8e6f9c31a151c3c22b0e23ec7ac7652fad32106d45eaf118f85
MD5 0f1c50ace61a2fef07be4437f011181a
BLAKE2b-256 c1459cb2d7d29aa843b9329f086e23d54de11b9679f81b3068976dc8760b23f8

See more details on using hashes here.

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