Packages

Error Handling Packages

Ergonomic error-handling and result-type libraries that make failure states explicit instead of relying on exceptions (thiserror, anyhow).

58 packages

Packages in Error Handling

Showing 15 of 58 packages
76Health
LibraryCargo

thiserror

A derive macro for ergonomic, zero-boilerplate custom error types in Rust.

5,535
Apache 2.0
Used by 51
72Health
Librarynpm

react-error-boundary

Reusable React error boundary component that catches rendering errors and shows a fallback UI.

7,987
MIT
Used by 46
75Health
LibraryCargo

anyhow

Flexible, idiomatic error handling for Rust applications with a single concrete error type.

6,647
Apache 2.0
Used by 45
49Health
LibraryGo

errors

Simple Go error handling primitives that add stack traces and context without losing the original cause.

8,258
Other
Used by 33
78Health
LibraryPyPI

tenacity

A general-purpose Python retrying library that adds configurable retry behavior to almost anything

8,773
Apache 2.0
Used by 22
91Health
Librarynpm

Effect

A TypeScript library and ecosystem for building robust, type-safe, concurrent applications with a full functional effect system

15,877
MIT
Used by 17
57Health
LibraryGo

backoff

Exponential backoff and retry for Go, with a generic Retry function, typed errors, and RetryAfter support for rate-limited APIs.

4,058
MIT
Used by 16
50Health
LibraryGo

go-multierror

A Go library for combining multiple error values into a single, introspectable error.

2,581
MPL-2.0
Used by 14
72Health
Librarynpm

zod-validation-error

Turns raw Zod validation issues into clear, human-readable error messages.

1,022
MIT
Used by 14
88Health
LibraryGo

lo

A Lodash-style Go library built on Go 1.18+ generics for working with slices, maps, channels, and functions.

21,426
MIT
Used by 11
41Health
Librarynpm

serialize-error

Serialize and deserialize JavaScript Error objects into plain, JSON-safe objects and back.

603
MIT
Used by 8
85Health
Librarynpm

NestJS Terminus

The official health-check module for NestJS applications

743
MIT
Used by 7
42Health
LibraryGo

gobreaker

A lightweight, thread-safe circuit breaker for Go that wraps any function call to stop cascading failures when a dependency starts failing.

3,692
MIT
Used by 5
59Health
LibraryGo

retry-go

A lightweight Go library for retrying fallible functions with configurable backoff, jitter, and per-error attempt limits.

2,948
MIT
Used by 5
36Health
Librarynpm

express-async-errors

A one-line patch that lets Express route handlers throw or reject instead of manually calling next(err).

905
Other
Used by 5

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search