Skip to main content

Try not to stand out

Project description

exception_escaping

Downloads Downloads codecov Hits-of-Code Test-Package Python versions PyPI version Checked with mypy Ruff

If you've just confessed and you can't wait to sin again, try this package. It will help you hide your mistakes and make your life more carefree.

Install it:

pip install exception_escaping

And use:

import exception_escaping

@exception_escaping
def function():
  raise ValueError

function()  # The exception is suppressed.

As you can see, this is similar to contextlib.suppress, but in the form of a decorator. It works with both regular and coroutine functions.

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

exception_escaping-0.0.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

exception_escaping-0.0.2-py3-none-any.whl (3.8 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