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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: function_error_handling-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c84e6b6b68d71153881ecfaa38b0be739ed6f9d34403ec203659fe8b0116a4a8
MD5 d5741bab16e7b827b11157e7eeb66101
BLAKE2b-256 9fde8d7bf5f78480c2e20b1a49fc567f90a498d69b2ef45a591113945ec11bde

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