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

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.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: function_error_handling-1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 578c2b9da95642ae0c05168f358d118a8c46f9890c3f008ff830cf5d660fb3b0
MD5 36ffa20dad7b4f676ccdb54211133d3b
BLAKE2b-256 2bb6763698de249b1b6f719c4e0bc83c7a566e3110e5ee3c18cbf4c12d6829ac

See more details on using hashes here.

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