Skip to main content

ExceptionControl

The ExceptionControl class is designed to be a helper class that is inherited into a class to give it a convenient interface to implement conditional exception handling options. The purpose of this is to give developers additional flexibility in how events can be handled and tune the overall behaviour via parameters while adding minimal additional control code.

In many codes one may wish their code to take a fail fast approach to handling issues such as unexpected input or other errors. While this method often works well to rapidly identify problems by causing an application to exit, there are times when maybe just a warning is sufficient.

ExceptionControl allows us to classify an event based on its severity using a threshold setting that can be changed. This gives us two degrees of control over the handling of an event. First, by assigning the level of severity of the event itself we can direct what happens when the event is triggered. Second, we can set thresholds that direct the behaviour of the handler when an event is triggered.

Documentation and User Guide

See the User Guide for detailed documentation on the package. This includes the API docs, user guide, and examples.

History

ExceptionControl is pulled from ConfigParserEnhanced into its own module because it is an interesting and useful class. Splitting these up was the intent from the beginning when it was originally developed.

Updates

See CHANGELOG for information on changes.

Metadata

Release files for exceptioncontrol 0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exceptioncontrol 0.1.0.1
File Size Uploaded
exceptioncontrol-0.1.0.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exceptioncontrol 0.1.0.1
File Interpreter ABI Platform
exceptioncontrol-0.1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.9 kB

Release files / exceptioncontrol-0.1.0.1.tar.gz

Download URL exceptioncontrol-0.1.0.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d1bbe827b14318333592624a6914447c8fe5eac95711d04edd2d2f3a94dbeb
BLAKE2b-256 checksum
How to use checksums
5a9598f2ea247b1daa962c9bebf6a1ccde7f5ede9f9b81c96b2fdc87dd1b5c64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / exceptioncontrol-0.1.0.1-py3-none-any.whl

Download URL exceptioncontrol-0.1.0.1-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c207e9630085ddb703a91cc8cb14276600660a9df12ecc23785acfa29d64571
BLAKE2b-256 checksum
How to use checksums
15a256449fa1ea723767a138bb8236e9e9365ccb7198ea01ae13151a8cb7e9a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.0.1 This release

2 release files

0.1.0

2 release files

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