Skip to main content

Wrap functions that might fail some time, so it will retry to execute that function n times

Project description

Installation

pip3 install function_error_handling.py

Usage

def function_that_might_throw_error():
    # stuff that is questionable
    pass

imoprt function_error_handling

function_that_might_throw_error = function_error_handling.wrap(function_that_might_throw_error)

function_that_might_throw_error()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

function_error_handling-1.1-py3-none-any.whl (1.9 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