Skip to main content

Make python exceptions fun

Project description

========= exceptiom

Make python exceptions fun.

Installation

Install exceptiom using pip.

pip install exceptiom

We are on PyPi

Visit us on Github

Usage

Import Exceptiom

from exceptiom import Exceptiom

and then raise exceptiom like

try:
    5 / 0
except Exception:
    raise Exceptiom('Failed while performing division')

You can also make it as the base class for all your derived exception.

Instead of doing class MyException(Exception) you can write class MyException(Exceptiom)

Contributon

To add jokes, just add joke in exceptiom/jokes_en and raise a PR.

For any other features raise a PR

For Developers

  • Version bump bumpversion --current-version 1.2.0 minor setup.py

  • Publishing to PyPi

    1.python setup.py sdist

    2.python setup.py sdist

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

exceptiom-1.3.0.tar.gz (5.5 kB view hashes)

Uploaded Source

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