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

If you're not sure about the file name format, learn more about wheel file names.

function_error_handling-1.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file function_error_handling-1.1-py3-none-any.whl.

File metadata

  • Download URL: function_error_handling-1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for function_error_handling-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c1d6960682abc4e0b204cce0596fd32eb2614bfcdc2e5880a01a16491e18248
MD5 8092d73cfd3b43dc19cf38e13b816c7c
BLAKE2b-256 d7ddc167c7b561796064d8f3a0f42df6655bae71e33415bc31037ae43647c4f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page