







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
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

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.

Learning Rust
Learning Rust - Rust Programming Language Tutorials for Everyone!

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

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

What is maintenance, anyway? | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!

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

Rust Language Cheat Sheet
A single-page Rust resource for people who like high information density.
Announcing Rust 1.100.0 | Rust Blog
Empowering everyone to build reliable and efficient software.

Rust for Java Devs
I’d like to take a change for this blog and leave the more bleeding edge topics to focus on perhaps one of the most important things one can do in the Rust community: teaching new Rust …