Skip to main content

========= 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

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

Uploaded Source

File details

Details for the file exceptiom-1.3.0.tar.gz.

File metadata

  • Download URL: exceptiom-1.3.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.5

File hashes

Hashes for exceptiom-1.3.0.tar.gz
Algorithm Hash digest
SHA256 184ee524eece320381447c1a4be6d2a1a1aa8cd6314896ace623416f1ff3e26c
MD5 8ffe909a8a77c146e2a1b723f606a354
BLAKE2b-256 312476fa89be62fc9f205c7cda742043b7451ed65cdcffe23f8cb1356808c4e2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.0 This release

1 file

1.2.0

1 file

1.1.0

1 file

1.0.0

1 file

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