Error Handling Packages
Ergonomic error-handling and result-type libraries that make failure states explicit instead of relying on exceptions (thiserror, anyhow).
Packages in Error Handling
thiserror
A derive macro for ergonomic, zero-boilerplate custom error types in Rust.
react-error-boundary
Reusable React error boundary component that catches rendering errors and shows a fallback UI.
anyhow
Flexible, idiomatic error handling for Rust applications with a single concrete error type.
errors
Simple Go error handling primitives that add stack traces and context without losing the original cause.
tenacity
A general-purpose Python retrying library that adds configurable retry behavior to almost anything
Effect
A TypeScript library and ecosystem for building robust, type-safe, concurrent applications with a full functional effect system
backoff
Exponential backoff and retry for Go, with a generic Retry function, typed errors, and RetryAfter support for rate-limited APIs.
go-multierror
A Go library for combining multiple error values into a single, introspectable error.
zod-validation-error
Turns raw Zod validation issues into clear, human-readable error messages.
lo
A Lodash-style Go library built on Go 1.18+ generics for working with slices, maps, channels, and functions.
serialize-error
Serialize and deserialize JavaScript Error objects into plain, JSON-safe objects and back.
NestJS Terminus
The official health-check module for NestJS applications
gobreaker
A lightweight, thread-safe circuit breaker for Go that wraps any function call to stop cascading failures when a dependency starts failing.
retry-go
A lightweight Go library for retrying fallible functions with configurable backoff, jitter, and per-error attempt limits.
express-async-errors
A one-line patch that lets Express route handlers throw or reject instead of manually calling next(err).