Metadata-Version: 2.0
Name: haiku-errors
Version: 0.2.0
Summary: Haiku error messages for Python
Home-page: https://github.com/pylola/haiku-errors
Author: Michał Jaworski
Author-email: swistakm@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Bug Tracking

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:

.. code:: console

    $ 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``:

.. code:: console

    $ 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


