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
Kind
Sort:Used by Most Apps
retry2
An easy-to-use, dependency-free retry decorator for Python functions.
Crashtest
A small Python library that makes exception handling and stack inspection easier and richer.
fn-error-context
A Rust attribute macro that automatically adds contextual messages to errors returned from a function.
n0-error
Ergonomic Rust error handling with automatic call-site location tracking.
proc-macro-error2
Nice, easy error reporting for Rust procedural macros, updated for syn 2
proc-macro2-diagnostics
Ergonomic compiler diagnostics for Rust proc-macros on both stable and nightly.
custom-error-instance
Create custom JavaScript Error subclasses that pass instanceof checks, with inheritance, default properties, and pluggable factories.
serde-error
A (de)serializable Rust Error type that captures the full causality chain for sending over the wire.
simple-eyre
A minimal eyre error handler that prints just the error chain — no backtraces, spans, or extra context.
node-domexception
Exposes NodeJS's native DOMException class on globalThis for platforms without it built in.