Ross ROSS = Recommend OSS · open-source software intelligence for agents

Open-source error-handling software

204 open-source libraries, tools and applications tagged error-handling, ranked by how closely error-handling is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.

204 products, primary matches first, then adoption-weighted; health v2 shown.

ProductHealth v2StarsMaturity
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…
9420197stable
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…
9218158stable
yoavbls/pretty-ts-errors
A VSCode extension that reformats TypeScript error messages into prettier, human-readable output with syntax highlighting. It supports Type…
7714096active
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…
7613229stable
jd/tenacity
Tenacity is a general-purpose retrying library for Python that simplifies adding retry behavior to functions and code blocks. It supports c…
958807stable
bvaughn/react-error-boundary
A reusable React error boundary component that catches rendering errors and displays fallback UI. It supports all React renderers including…
997993stable
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…
567727active
webmozarts/assert
A PHP library providing efficient assertions for validating method input and output, throwing InvalidArgumentException with clear, consiste…
927649stable
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…
876722stable
dtolnay/anyhow
A Rust library providing anyhow::Error, a trait-object-based concrete error type for idiomatic error handling in applications. It supports …
946677stable
Arrow
Arrow is a Kotlin library for typed functional programming, providing data types like Option and Either, typed error handling with the Rais…
886581active
ACRA
ACRA is an open-source Android library for crash reporting that catches uncaught exceptions, collects detailed device and application conte…
876503active
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…
545788active
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…
985573stable
Qix-/better-exceptions
A Python library that automatically replaces the default exception output with pretty, colorized, and more informative tracebacks that incl…
604718active
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…
724658active
zio/zio
ZIO is a zero-dependency Scala library for type-safe, composable asynchronous and concurrent programming, built on lightweight fibers. It p…
954428stable
dry-python/returns
A Python library providing typed functional programming primitives like Result, Maybe, and IO containers with full mypy support and a custo…
874378active
failsafe-lib/failsafe
Failsafe is a lightweight, zero-dependency Java library for fault tolerance, wrapping executable logic with composable resilience policies …
554313active
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 …
264305stable
cenkalti/backoff
A Go library implementing the exponential backoff algorithm with a Retry helper for retrying operations. It supports configurable retry lim…
764085stable
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…
684055active
iqiyi/xCrash
xCrash is an Android library that captures Java crashes, native crashes, and ANRs, generating tombstone files with detailed process, thread…
323954active
.NET Community Toolkit
A collection of NuGet libraries from Microsoft and the .NET Foundation providing UI-agnostic helpers for .NET developers, including the MVV…
633762stable
maruel/panicparse
panicparse is a Go tool and library that parses Go panic stack traces, densifies and deduplicates goroutines with similar stacks, and rende…
683707stable
sony/gobreaker
gobreaker is a Go library implementing the Circuit Breaker pattern as a generic, configurable state machine. It prevents sending requests l…
583700stable
kriskowal/q
Q is a JavaScript promise library implementing the Promises/A+ specification for asynchronous flow control in Node.js and browsers. It pred…
1014995maintenance
Suor/funcy
Funcy is a Python library providing a practical collection of functional programming tools inspired by Clojure and Underscore. It offers ut…
763511stable
Interactor
A Ruby gem providing a common interface for encapsulating business logic in single-purpose objects called interactors. Each interactor oper…
433456stable
samber/mo
samber/mo is a Go library providing monads and functional programming abstractions such as Option, Result, Either, Future, IO, Task, and St…
873421stable
mxcl/PromiseKit
PromiseKit is a Swift and Objective-C library implementing promises to simplify asynchronous programming. It supports iOS, macOS, tvOS, wat…
5714220maintenance
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…
323357stable
ardalis/GuardClauses
A small, extensible C# library providing guard clause extension methods for fail-fast argument validation. It offers checks like null, empt…
663314stable
android-notes/Cockroach
Cockroach is an Android library (Java) that prevents unnecessary app crashes by intercepting exceptions thrown in the main thread's message…
233252stable
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…
563070stable
sanctuary-js/sanctuary
Sanctuary is a JavaScript functional programming library inspired by Haskell and PureScript, offering a stricter, safer alternative to Ramd…
233050stable
microsoft/wil
A header-only C++ library from Microsoft providing readable, type-safe C++ interfaces for common Windows coding patterns. It includes RAII …
732979stable
avast/retry-go
A simple Go library providing a retry mechanism for retrying failing operations with configurable attempts, delays, and backoff strategies.…
702965stable
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…
622922stable
onelivesleft/PrettyErrors
A Python library that reformats exception tracebacks into readable, colorized output. It can be installed globally via the Python startup p…
322872stable
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…
232862stable
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…
5411548maintenance
vkhorikov/CSharpFunctionalExtensions
A C# library providing functional programming extensions, including Result and Maybe monads, value objects, and fluent method chaining. It …
662831stable
litl/backoff
A Python library providing function decorators for configurable backoff and retry logic. It supports both synchronous functions and asyncio…
102695stable
symfony/error-handler
The Symfony ErrorHandler component provides tools to manage errors and ease debugging PHP code, converting PHP errors and notices into exce…
982672stable
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…
852667stable
altmann/FluentResults
FluentResults is a lightweight .NET library implementing the Result pattern, returning success/failure objects instead of throwing exceptio…
332642active
zkat/miette
miette is a Rust diagnostic library that extends std::error::Error with a Diagnostic protocol, derive macros, and pretty, detailed error re…
592614stable
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/…
912531active
Safe PHP
Safe-PHP redeclares PHP core functions in a Safe namespace so they throw exceptions instead of returning false on error. It also provides S…
832496active
fluture-js/Fluture
Fluture is a Fantasy Land compliant, monadic alternative to JavaScript Promises, representing asynchronous operations as lazy, composable F…
232491stable
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…
802475active
Exceptionless
Exceptionless is an open-source real-time error monitoring and reporting service for .NET, JavaScript, and Node applications, with clients …
982457active
beberlei/assert
A thin PHP assertion library providing assertions and guard methods for input validation in business models, libraries, and low-level appli…
722434stable
eapache/go-resiliency
A Go library implementing common resiliency patterns such as circuit breaker, retrier, deadline/timeout, batching, and semaphore. It is ins…
232368stable
armink/CmBacktrace
CmBacktrace is an open-source C library for ARM Cortex-M microcontrollers that automatically diagnoses faults (Hard Fault, Bus Fault, etc.)…
702185stable
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…
102156active
pkg/errors
A Go library providing simple error handling primitives, most notably errors.Wrap for adding context and stack traces to errors without des…
528254maintenance
symfony/deprecation-contracts
A minimal PHP package providing a single global `trigger_deprecation()` function and convention for emitting deprecation notices from libra…
882099stable
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…
912095active
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 …
342035active
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,…
922033active
softonic/axios-retry
An Axios plugin that intercepts failed HTTP requests and automatically retries them with configurable retry counts and delay strategies. It…
412015active
dmmulroy/better-result
A lightweight TypeScript library providing a typed Result<T, E> type that makes expected failures explicit in function signatures. It suppo…
761995active
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…
107275maintenance
shepmaster/snafu
SNAFU is a Rust library for ergonomically creating domain-specific error types and attaching context to underlying errors. It uses a derive…
701899stable
HugoRCD/evlog
evlog is a modern TypeScript logging library that combines structured logs, wide events, and structured errors behind a single API and drai…
791888active
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…
481887stable
orangeduck/Cello
Cello is a C library that adds a higher-level runtime system to C, providing generic data structures, polymorphism, interfaces/type classes…
237131maintenance
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…
591881stable
destel/rill
Rill is a Go library providing composable, channel-based concurrency primitives built on generics. It lets developers build concurrent pipe…
831880active
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…
231863stable
doctrine/deprecations
A thin PHP library that wraps deprecation notification strategies, supporting trigger_error(E_USER_DEPRECATED), PSR-3 logging, and silent t…
661855stable
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…
751852stable
TheCodeTraveler/AsyncAwaitBestPractices
A .NET library providing extensions for System.Threading.Tasks.Task and ValueTask, including SafeFireAndForget for exception-safe fire-and-…
701841stable
Nette Framework
Tracy is a PHP debugging library that provides error visualization, variable dumping, logging, and a floating debug bar (Tracy Bar) showing…
881837stable
connor4312/cockatiel
Cockatiel is a TypeScript/Node.js resilience and transient-fault-handling library inspired by .NET's Polly. It lets developers compose poli…
671829active
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…
236858maintenance
rotisserie/eris
Eris is a Go error handling library providing readable stack traces, error wrapping, and flexible output formatting including JSON. It inte…
351794stable
eyre
eyre is a Rust library providing eyre::Report, a trait-object based error handling type for idiomatic error handling and reporting in appli…
721785stable
skydoves/sandwich
Sandwich is a lightweight Kotlin library that provides sealed ApiResponse types for modeling and handling API responses and exceptions from…
911779stable
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…
971744active
Giorgi/EntityFramework.Exceptions
A .NET library that converts Entity Framework Core's generic DbUpdateException into strongly typed exceptions like UniqueConstraintExceptio…
751737active
oklog/run
run.Group is a small Go library providing a universal mechanism to manage goroutine lifecycles. Actors are added as execute/interrupt funct…
321721stable
nodeshift/opossum
Opossum is a Node.js circuit breaker library that wraps asynchronous functions (promises and callbacks) and monitors their execution, faili…
901689active
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…
401650active
gigobyte/purify
Purify is a functional programming library for TypeScript providing algebraic data types like Maybe, Either, and Result, plus runtime type …
571608active
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…
611561stable
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…
235619maintenance
Shopify/semian
Semian is a Ruby resiliency library that prevents cascading failures when accessing slow or unresponsive external services like databases a…
841489stable
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…
801487stable
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…
601482active
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…
325295maintenance
hynek/stamina
stamina is an opinionated Python library for retrying failed operations with production-safe defaults like exponential backoff with jitter,…
791461stable
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,…
781423active
thejerf/suture
Suture is a Go library implementing Erlang-style supervisor trees for managing and restarting failing goroutine-based services. It handles …
701411stable
vultix/ts-results
A TypeScript library implementing Rust's Result and Option types, bringing compile-time error checking and explicit optional values to Type…
321409stable
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 …
911365active
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 …
431313stable
cknd/stackprinter
A Python library that produces enhanced exception tracebacks showing source code context and the current values of nearby variables. It pri…
651300stable

page 1 / 3 next →