







How to safely and properly handle errors in Rust
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

The simplest guide to error handling in Rust
Rust is loved for its reliability, and a good chunk of its reliability comes from its error handling ergonomics. I know that there already are a few guides about error handling in Rust, but I found these guides to be too long and not straight to the point. So here
Error Handling in Rust vs. Exceptions in Other Languages
Error Handling in Rust vs. Exceptions in Other Languages
Rust Error Handling: thiserror, anyhow, and When to Use Each
In this blog post, we’ll explore strategies for streamlining error handling in Rust using two popular libraries: thiserror and anyhow. We’ll discuss their features, use cases, and provide insights on when to choose each library. TL;DR thiserror simplifies the implementation of custom error type, removing boilerplates anyhow consolidates errors that implement std::error::Error While thiserror provides detailed error information for specific reactions, anyhow hides internal details Return Different Error Types from Function Let’s start by creating a function decode() for illustration. The function has 3 steps:
Why Use Structured Errors in Rust Applications?
Going against the common wisdom of “using anyhow for applications”.
One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

Making Rust Workers reliable: panic and abort recovery in wasm‑bindgen
Panics in Rust Workers were historically fatal, poisoning the entire instance. By collaborating upstream on the wasm‑bindgen project, Rust Workers now support resilient critical error recovery, including panic unwinding using WebAssembly Exception Handling.

The Ultimate Guide to Rust Newtypes
Clean up your code, clarify business logic and improve test coverage with Rust's newtype wrappers.

400 - Dealing with cancel safety in async Rust | RFD | Oxide
While developing the control plane, we’ve found that one of the bigger practical issues has been async cancel correctness: the relatively unpredictable way an async Rust system can behave if futures are dropped [rfd397]. Cancellation is an example of "spooky action at a distance", and having to think about it imposes a significant cognitive burden on authors and reviewers of asynchronous code. Both of these are quite uncharacteristic of Rust.
Be alert: targeted attacks on prominent Rustaceans | Rust Blog
Empowering everyone to build reliable and efficient software.

Announcing Rust 1.12.1 | Rust Blog
Empowering everyone to build reliable and efficient software.

Stop Forwarding Errors, Start Designing Them | FastLabs / Blog
We develop fast Rust crates and release them fast.
Rust(lang) in Unity3D
How to use Unity’s Native Plugin interface to call fast, safe code in Rust

Announcing Rust 1.96.1 | Rust Blog
Empowering everyone to build reliable and efficient software.
