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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extraexceptions-0.0.0.5.tar.gz.
File metadata
- Download URL: extraexceptions-0.0.0.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb34537a967249f30005a650efc835f1a631d4e5f6cfbe5db96ccfd5286608b3
|
|
| MD5 |
189392de72355f71d712d9734b515845
|
|
| BLAKE2b-256 |
80f3ed14df2ffd86af142f9cbfb81d304814acb23b10a288835ebef6ba38e2df
|
File details
Details for the file extraexceptions-0.0.0.5-py3-none-any.whl.
File metadata
- Download URL: extraexceptions-0.0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55b768903bf3e91f819ce33d06e1baa70c94a76fc165568752224c169c38862d
|
|
| MD5 |
5dacd9326b4fbb95a6aa60ed78dd9a3b
|
|
| BLAKE2b-256 |
6622ccc36f6f409734b458cf74b71494ddace834a8132c02c0936f615926b64b
|