Skip to main content

This is a lib for custom exceptions

Project description

Extra Exceptions

Extra Exceptions - library for those who lack the usual python exceptions.
Documentation will be soon...

To install pip install extraexceptions

To import import extraexceptions or from extraexceptons import *


Library give a new exceptions:

Logical Fallacies - new 74 excepts.
Cognitive Biases - new 56 excepts.


Don't Stop Code Decorator:

Library can catch exceptions and output only text with error, but if it will be, for example:

from extraexceptions import *


@ignore_exc_decorator
def div(x, y):
    return x / y


print(div(5, 0))

you will receive:

Exception>>> division by zero
None

None - because x/y return traceback, but decorator catch his and function cant assign a value to return.

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

extraexceptions-0.0.0.5.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

extraexceptions-0.0.0.5-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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