Skip to main content

ccaerrors

Universal error handling for python functions.

Usage

import sys

from ccaerrors import errorNotify

def somefunction():
    try:
        pass
    except Exception as e:
        errorNotify(sys.exc_info()[2], e)

errorNotify

print the function name and the Exception details to stdout.

errorRaise

print the function name and the Exception details to stdout and also re-raise the Exception

errorExit

print the function name and the Exception details to stdout. Exit the script by calling sys.exit().

Metadata

Release files for ccaerrors 0.1.2

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

Source distribution (sdist)

Source distribution for ccaerrors 0.1.2
File Size Uploaded Provenance
ccaerrors-0.1.2.tar.gz 13.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 27.7 kB

Release files / ccaerrors-0.1.2.tar.gz

Download URL ccaerrors-0.1.2.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e742ec09335dbb313116cc25c1f9f361e17262d9e079be4ec2757d76fb6b580
BLAKE2b-256 checksum
How to use checksums
0a812121b11db02586ce4f8fb4cda0e973ad753c79ebf3623f37fd7843b29079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.5 Linux/5.15.48-1-MANJARO

Release files / ccaerrors-0.1.2-py3-none-any.whl

Download URL ccaerrors-0.1.2-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb5bdec65f073c2e2d2db33aaff9a6d7f8ac178875f0df1ca96177c9927f228e
BLAKE2b-256 checksum
How to use checksums
e8e98de4db5b9aeabe8badc5788468d2e4c473860a6e00aced46ad0b06c5a7f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.5 Linux/5.15.48-1-MANJARO

Security for ccaerrors 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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