function: error-handling
205 products, primary matches first, then adoption-weighted; health v2 shown.
| Product | Health v2 | Stars | Maturity |
|---|---|---|---|
| go-playground/validator A Go library for validating structs and individual fields using struct tags, with support for cross-field, cross-struct, and nested map/sli… | 90 | 20132 | stable |
| abseil/abseil-cpp Abseil is an open-source collection of C++17-compliant libraries drawn from Google's internal codebase, designed to augment the C++ standar… | 95 | 18104 | stable |
| yoavbls/pretty-ts-errors A VSCode extension that reformats TypeScript error messages into prettier, human-readable output with syntax highlighting. It supports Type… | 80 | 14105 | active |
| filp/whoops Whoops is a PHP error handling library that provides a stack-based system for dealing with errors and exceptions. It renders a detailed, pr… | 76 | 13235 | stable |
| jd/tenacity Tenacity is a general-purpose retrying library for Python that simplifies adding retry behavior to functions and code blocks. It supports c… | 88 | 8764 | stable |
| bvaughn/react-error-boundary A reusable React error boundary component that catches rendering errors and displays fallback UI. It supports all React renderers including… | 98 | 7984 | stable |
| supermacro/neverthrow neverthrow is a TypeScript library providing a type-safe Result type (Ok/Err) for error handling without exceptions, inspired by Rust. It i… | 64 | 7689 | active |
| webmozarts/assert A PHP library providing efficient assertions for validating method input and output, throwing InvalidArgumentException with clear, consiste… | 90 | 7651 | stable |
| microsoft/GSL Microsoft's implementation of the Guidelines Support Library (GSL), a header-only C++14 library of types and functions recommended by the C… | 91 | 6710 | stable |
| dtolnay/anyhow A Rust library providing anyhow::Error, a trait-object-based concrete error type for idiomatic error handling in applications. It supports … | 97 | 6631 | stable |
| arrow-kt/arrow Arrow is a Kotlin library for typed functional programming, providing data types like Option and Either, typed error handling with the Rais… | 91 | 6580 | active |
| ACRA/acra ACRA is an open-source Android library for crash reporting that catches uncaught exceptions, collects detailed device and application conte… | 71 | 6502 | active |
| donlon/cloudflare-error-page A generator and library for creating customized error pages that mimic the well-known Cloudflare error page, embeddable into your own websi… | 57 | 5600 | active |
| dtolnay/thiserror A Rust library providing a convenient derive macro for implementing the standard library's std::error::Error trait on structs and enums. It… | 98 | 5526 | stable |
| Qix-/better-exceptions A Python library that automatically replaces the default exception output with pretty, colorized, and more informative tracebacks that incl… | 64 | 4720 | active |
| nunomaduro/collision Collision is a PHP library that provides beautiful, readable error reporting for command-line applications. Built on top of Whoops, it is b… | 75 | 4661 | active |
| zio/zio ZIO is a zero-dependency Scala library for type-safe, composable asynchronous and concurrent programming, built on lightweight fibers. It p… | 89 | 4410 | stable |
| dry-python/returns A Python library providing typed functional programming primitives like Result, Maybe, and IO containers with full mypy support and a custo… | 90 | 4355 | active |
| failsafe-lib/failsafe Failsafe is a lightweight, zero-dependency Java library for fault tolerance, wrapping executable logic with composable resilience policies … | 59 | 4309 | active |
| bombela/backward-cpp Backward-cpp is a header-only C++ library that pretty-prints stack traces with source code snippets when crashes or fatal errors occur. It … | 30 | 4299 | stable |
| cenkalti/backoff A Go library implementing the exponential backoff algorithm with a Retry helper for retrying operations. It supports configurable retry lim… | 73 | 4054 | stable |
| mcintyre321/OneOf OneOf is a C# library providing F#-style discriminated unions via a generic OneOf<T0,...,Tn> type with exhaustive compile-time matching. It… | 71 | 4054 | active |
| iqiyi/xCrash xCrash is an Android library that captures Java crashes, native crashes, and ANRs, generating tombstone files with detailed process, thread… | 35 | 3950 | active |
| .NET Community Toolkit A collection of NuGet libraries from Microsoft and the .NET Foundation providing UI-agnostic helpers for .NET developers, including the MVV… | 76 | 3749 | stable |
| maruel/panicparse panicparse is a Go tool and library that parses Go panic stack traces, densifies and deduplicates goroutines with similar stacks, and rende… | 64 | 3709 | stable |
| sony/gobreaker gobreaker is a Go library implementing the Circuit Breaker pattern as a generic, configurable state machine. It prevents sending requests l… | 62 | 3687 | stable |
| kriskowal/q Q is a JavaScript promise library implementing the Promises/A+ specification for asynchronous flow control in Node.js and browsers. It pred… | 10 | 15011 | maintenance |
| Suor/funcy Funcy is a Python library providing a practical collection of functional programming tools inspired by Clojure and Underscore. It offers ut… | 76 | 3510 | stable |
| collectiveidea/interactor A Ruby gem providing a common interface for encapsulating business logic in single-purpose objects called interactors. Each interactor oper… | 46 | 3458 | stable |
| samber/mo samber/mo is a Go library providing monads and functional programming abstractions such as Option, Result, Either, Future, IO, Task, and St… | 90 | 3403 | stable |
| mxcl/PromiseKit PromiseKit is a Swift and Objective-C library implementing promises to simplify asynchronous programming. It supports iOS, macOS, tvOS, wat… | 61 | 14227 | maintenance |
| scopsy/await-to-js await-to-js is a tiny TypeScript utility library that wraps promises in an async/await-friendly helper, returning [error, data] tuples inst… | 32 | 3357 | stable |
| ardalis/GuardClauses A small, extensible C# library providing guard clause extension methods for fail-fast argument validation. It offers checks like null, empt… | 67 | 3314 | stable |
| android-notes/Cockroach Cockroach is an Android library (Java) that prevents unnecessary app crashes by intercepting exceptions thrown in the main thread's message… | 23 | 3255 | stable |
| microsoft/plcrashreporter PLCrashReporter is an open-source in-process crash reporting library for iOS, macOS, and tvOS written in Objective-C. It detects crashes an… | 62 | 3066 | stable |
| sanctuary-js/sanctuary Sanctuary is a JavaScript functional programming library inspired by Haskell and PureScript, offering a stricter, safer alternative to Ramd… | 23 | 3052 | stable |
| microsoft/wil A header-only C++ library from Microsoft providing readable, type-safe C++ interfaces for common Windows coding patterns. It includes RAII … | 77 | 2968 | stable |
| avast/retry-go A simple Go library providing a retry mechanism for retrying failing operations with configurable attempts, delays, and backoff strategies.… | 76 | 2947 | stable |
| hapijs/boom @hapi/boom is a Node.js library for creating HTTP-friendly error objects with status codes, payloads, and formatting helpers. It is part of… | 66 | 2923 | stable |
| onelivesleft/PrettyErrors A Python library that reformats exception tracebacks into readable, colorized output. It can be installed globally via the Python startup p… | 32 | 2873 | stable |
| benaadams/Ben.Demystifier A high-performance .NET library that renders stack traces with modern C# 7.0+ features (async, lambdas, generics, iterators) in a format th… | 23 | 2867 | stable |
| gcanti/fp-ts fp-ts is a library for typed functional programming in TypeScript, providing popular data types (Option, Either, IO, Task), type classes (F… | 58 | 11540 | maintenance |
| vkhorikov/CSharpFunctionalExtensions A C# library providing functional programming extensions, including Result and Maybe monads, value objects, and fluent method chaining. It … | 72 | 2826 | stable |
| litl/backoff A Python library providing function decorators for configurable backoff and retry logic. It supports both synchronous functions and asyncio… | 10 | 2694 | stable |
| symfony/error-handler The Symfony ErrorHandler component provides tools to manage errors and ease debugging PHP code, converting PHP errors and notices into exce… | 99 | 2670 | stable |
| schmittjoh/php-option A PHP library implementing the Option type (Some/None) to represent optional values instead of returning null. It forces developers to expl… | 91 | 2664 | stable |
| altmann/FluentResults FluentResults is a lightweight .NET library implementing the Result pattern, returning success/failure objects instead of throwing exceptio… | 37 | 2627 | active |
| zkat/miette miette is a Rust diagnostic library that extends std::error::Error with a Diagnostic protocol, derive macros, and pretty, detailed error re… | 63 | 2601 | stable |
| kisielk/errcheck errcheck is a static analysis tool for Go that finds silently ignored error return values. It can be run as a CLI or integrated via the go/… | 78 | 2528 | active |
| thecodingmachine/safe Safe-PHP redeclares PHP core functions in a Safe namespace so they throw exceptions instead of returning false on error. It also provides S… | 89 | 2496 | active |
| fluture-js/Fluture Fluture is a Fantasy Land compliant, monadic alternative to JavaScript Promises, representing asynchronous operations as lazy, composable F… | 23 | 2493 | stable |
| exceptionless/Exceptionless Exceptionless is an open-source real-time error monitoring and reporting service for .NET, JavaScript, and Node applications, with clients … | 99 | 2455 | active |
| cockroachdb/errors A Go error handling library that is a drop-in replacement for the standard errors package and github.com/pkg/errors, adding network-portabl… | 83 | 2454 | active |
| beberlei/assert A thin PHP assertion library providing assertions and guard methods for input validation in business models, libraries, and low-level appli… | 78 | 2432 | stable |
| eapache/go-resiliency A Go library implementing common resiliency patterns such as circuit breaker, retrier, deadline/timeout, batching, and semaphore. It is ins… | 26 | 2370 | stable |
| armink/CmBacktrace CmBacktrace is an open-source C library for ARM Cortex-M microcontrollers that automatically diagnoses faults (Hard Fault, Bus Fault, etc.)… | 76 | 2160 | stable |
| zesterer/ariadne Ariadne is a Rust crate for producing fancy, colored compiler diagnostics and error reports with inline and multi-line labels, multi-file e… | 10 | 2157 | active |
| pkg/errors A Go library providing simple error handling primitives, most notably errors.Wrap for adding context and stack traces to errors without des… | 56 | 8259 | maintenance |
| symfony/deprecation-contracts A minimal PHP package providing a single global `trigger_deprecation()` function and convention for emitting deprecation notices from libra… | 87 | 2099 | stable |
| error-or/error-or ErrorOr is a C# library providing a fluent discriminated union type of either an error or a result value, letting developers replace except… | 94 | 2081 | active |
| liangjingkanji/Net Net is a coroutine-based Android networking library built on top of OkHttp, offering a non-intrusive API that supports all OkHttp features … | 34 | 2035 | active |
| IBM/fp-go IBM/fp-go is a functional programming library for Go 1.24+ inspired by fp-ts, providing monads like Option, Either, Result, IO, and Reader,… | 91 | 2020 | active |
| softonic/axios-retry An Axios plugin that intercepts failed HTTP requests and automatically retries them with configurable retry counts and delay strategies. It… | 44 | 2014 | active |
| dmmulroy/better-result A lightweight TypeScript library providing a typed Result<T, E> type that makes expected failures explicit in function signatures. It suppo… | 82 | 1931 | active |
| facebookarchive/KVOController A thread-safe Objective-C library that simplifies Cocoa's key-value observing (KVO) on iOS and OS X. It offers a modern API supporting bloc… | 10 | 7286 | maintenance |
| shepmaster/snafu SNAFU is a Rust library for ergonomically creating domain-specific error types and attaching context to underlying errors. It uses a derive… | 74 | 1895 | stable |
| orangeduck/Cello Cello is a C library that adds a higher-level runtime system to C, providing generic data structures, polymorphism, interfaces/type classes… | 23 | 7128 | maintenance |
| ruby/did_you_mean A Ruby gem that enhances error messages by suggesting corrections for misspelled method, variable, class, and key names in NameError, NoMet… | 63 | 1881 | stable |
| TartanLlama/expected A single-header C++11/14/17 implementation of std::expected with functional-style extensions like map, and_then, and or_else. It lets devel… | 53 | 1879 | stable |
| alexreardon/tiny-invariant A tiny, zero-dependency invariant assertion function for JavaScript and TypeScript that throws when a condition is falsy. It also narrows t… | 23 | 1863 | stable |
| doctrine/deprecations A thin PHP library that wraps deprecation notification strategies, supporting trigger_error(E_USER_DEPRECATED), PSR-3 logging, and silent t… | 72 | 1855 | stable |
| rust-cli/human-panic A Rust library that installs a custom panic hook to replace cryptic panic messages with friendly, human-readable crash output. It generates… | 77 | 1853 | stable |
| destel/rill Rill is a Go library providing composable, channel-based concurrency primitives built on generics. It lets developers build concurrent pipe… | 78 | 1852 | active |
| TheCodeTraveler/AsyncAwaitBestPractices A .NET library providing extensions for System.Threading.Tasks.Task and ValueTask, including SafeFireAndForget for exception-safe fire-and-… | 72 | 1839 | stable |
| nette/tracy Tracy is a PHP debugging library that provides error visualization, variable dumping, logging, and a floating debug bar (Tracy Bar) showing… | 90 | 1837 | stable |
| BetterErrors/better_errors Better Errors is a Ruby gem that replaces the standard Rails error page with a richer, more useful one, and works as Rack middleware in any… | 23 | 6862 | maintenance |
| HugoRCD/evlog evlog is a modern TypeScript logging library that combines structured logs, wide events, and structured errors behind a single API and drai… | 82 | 1815 | active |
| connor4312/cockatiel Cockatiel is a TypeScript/Node.js resilience and transient-fault-handling library inspired by .NET's Polly. It lets developers compose poli… | 67 | 1815 | active |
| rotisserie/eris Eris is a Go error handling library providing readable stack traces, error wrapping, and flexible output formatting including JSON. It inte… | 39 | 1795 | stable |
| skydoves/sandwich Sandwich is a lightweight Kotlin library that provides sealed ApiResponse types for modeling and handling API responses and exceptions from… | 94 | 1770 | stable |
| eyre-rs/eyre eyre is a Rust library providing eyre::Report, a trait-object based error handling type for idiomatic error handling and reporting in appli… | 76 | 1769 | stable |
| fullstack-build/tslog tslog is a universal, fully typed logging library for TypeScript and JavaScript that runs in Node.js, browsers, Deno, Bun, workers, and Rea… | 96 | 1737 | active |
| Giorgi/EntityFramework.Exceptions A .NET library that converts Entity Framework Core's generic DbUpdateException into strongly typed exceptions like UniqueConstraintExceptio… | 66 | 1735 | active |
| oklog/run run.Group is a small Go library providing a universal mechanism to manage goroutine lifecycles. Actors are added as execute/interrupt funct… | 35 | 1720 | stable |
| nodeshift/opossum Opossum is a Node.js circuit breaker library that wraps asynchronous functions (promises and callbacks) and monitors their execution, faili… | 96 | 1680 | active |
| foonathan/type_safe A C++ library providing zero-overhead abstractions that leverage the type system to prevent bugs at compile time. It offers improved wrappe… | 44 | 1649 | active |
| gigobyte/purify Purify is a functional programming library for TypeScript providing algebraic data types like Maybe, Either, and Result, plus runtime type … | 63 | 1603 | active |
| jshttp/http-errors http-errors is a Node.js library for creating HTTP error objects with status codes, messages, and custom properties. It integrates easily w… | 67 | 1559 | stable |
| niieani/bash-oo-framework Bash Infinity is a standard library and boilerplate framework for writing Bash scripts, bringing concepts like OOP, try-catch exceptions, n… | 23 | 5617 | maintenance |
| ehmicky/modern-errors A JavaScript library for handling errors in a simple, stable, and consistent way across Node.js and browsers. It provides error class creat… | 81 | 1486 | stable |
| Shopify/semian Semian is a Ruby resiliency library that prevents cascading failures when accessing slow or unresponsive external services like databases a… | 86 | 1484 | stable |
| jeremy-rifkin/cpptrace Cpptrace is a simple, portable, self-contained C++ stacktrace library supporting C++11 and newer on Linux, macOS, and Windows (including Mi… | 63 | 1472 | active |
| ajalt/fuckitpy FuckIt.py is a Python library that silences errors by rewriting code via AST manipulation so scripts keep running despite exceptions. It ca… | 32 | 5289 | maintenance |
| hynek/stamina stamina is an opinionated Python library for retrying failed operations with production-safe defaults like exponential backoff with jitter,… | 80 | 1442 | stable |
| dry-rb/dry-validation dry-validation is a Ruby library for data validation using type-safe schemas and composable rules. It supports input coercion, nested data,… | 70 | 1422 | active |
| thejerf/suture Suture is a Go library implementing Erlang-style supervisor trees for managing and restarting failing goroutine-based services. It handles … | 74 | 1412 | stable |
| vultix/ts-results A TypeScript library implementing Rust's Result and Option types, bringing compile-time error checking and explicit optional values to Type… | 32 | 1407 | stable |
| true-myth/true-myth True Myth is a TypeScript library providing type-safe Maybe, Result, and Task types for handling null values, errors, and async operations … | 93 | 1361 | active |
| simplepeng/SpiderMan An Android library that displays crash/exception information directly on the device in a dialog, with options to share the stack trace. It … | 47 | 1313 | stable |
| isaacs/node-graceful-fs graceful-fs is a drop-in replacement for Node.js's fs module that makes filesystem access more resilient. It queues and retries open/readdi… | 54 | 1302 | stable |
page 1 / 3 next →