2 Repos
Mechanisms to catch specific exception types using predicate functions to determine which errors require handling.
Distinct from Error Handling: Distinct from general error handling: specifically implements conditional filtering based on exception types or predicates.
Explore 2 awesome GitHub repositories matching web development · Predicate-Based Error Filtering. Refine with filters or upvote what's useful.
Bluebird is a JavaScript promise library designed for managing asynchronous operations with a custom promise implementation. It provides a framework for controlling promise lifecycles and orchestrating non-blocking programming patterns. The library distinguishes itself with an asynchronous debugging toolkit that captures long stack traces across asynchronous boundaries and a global handler for unhandled promise rejections. It includes a predicate-based error filtering system to target specific exception types and a mechanism for the deterministic cleanup of system resources. It covers a broa
Implements a predicate-based filtering system to target and handle specific exception types within promise chains.
Tenacity is a Python retry library and fault tolerance framework designed to automatically re-execute failing functions based on custom conditions, wait intervals, and stop criteria. It provides a mechanism to apply retry logic to both synchronous functions and asynchronous coroutines. The library implements exponential backoff to increase delays between retries, helping to manage transient network failures and prevent the overloading of services. Its capabilities cover the definition of retry conditions based on exception types or return values, as well as the enforcement of duration limits
Determines whether to retry by evaluating exceptions against specified types or custom boolean predicate functions.