A guide to error handling in Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. project-error-handling

    Discontinued Error handling project group

    If anyone's interested in helping to shape the future of Rust's built-in error-handling story, there's an error handling project group that's been doing great work recently, e.g. the major effort to move the Error trait into libcore ( https://github.com/rust-lang/project-error-handling/issues/3 ) and stabilizing std::backtrace. You can follow along or get involved via the #project-error-handling channel on the Rust zulip: https://rust-lang.zulipchat.com/

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. book

    The Rust Programming Language

    This glaring omission from this is the "enum idiom":

    https://doc.rust-lang.org/std/convert/trait.From.html#exampl...

    they talk about it here:

    https://nrc.github.io/error-docs/error-design/error-type-des...

    but including more than a snippet would to a long way to that "aha" moment I think. This was frustrating for me browsing this site. The author wrote 10 pages of docs, but nearly all the examples are like 5 line snippets of code. I think examples are equally important as the discussion itself. Rust itself suffers from the same problem:

    https://github.com/rust-lang/book/issues/3348

  4. mdBook

    Create book from markdown files. Like Gitbook but implemented in Rust

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Effective Rust

    3 projects | news.ycombinator.com | 15 Jun 2023
  • New Rust course by Android: Comprehensive Rust 🦀

    7 projects | /r/rust | 21 Dec 2022
  • Extracting code snippets for LaTeX inclusion

    5 projects | /r/rust | 27 Sep 2022
  • Warp Terminal: Revolutionizing Command Line Interfaces with Modern UX and AI

    1 project | dev.to | 12 Apr 2025
  • Programmers I Know – Matthias Endler

    4 projects | news.ycombinator.com | 9 Apr 2025

Did you know that Rust is
the 5th most popular programming language
based on number of references?