GoThread
appearance log in
home all local communities
c/rust@programming.dev

Rust

log in to join
follow from another instance

Not on this instance? Enter your own instance's domain to go straight to following c/rust@programming.dev there.

hashtags

#rust
0
c/rust@programming.dev · SorteKanin@feddit.dk · 7 Oct 2026 08:57

The Missing Piece in Rust Error Handling

#rust
mcmah309 Blog The Missing Piece in Rust Error Handling Rust already has most of what I want from error handling: explicit control flow, errors as values, and concise propagation with ?. The friction comes when deciding what to put in the error half of Result. We often end up choosing between precise types that require boilerplate and convenient types that hide which errors can occur. But precision and convenience do not have to be competing goals. Error types should compose as easily as the functions that return them. mcmah309.github.io

check post at origin

0 comments

0 comments

log in to comment.

about

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

:::spoiler Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background) :::
members
8376
posts
49
created
12 Jun 2023
active / week
8
active / month
14

moderators

  • @snowe@programming.dev
  • @Ategon@programming.dev
  • @EdTheLegendary@programming.dev
  • @torcherist@programming.dev

rss · modlog

GoThread · self-hosted threadiverse · instances · modlog · rss · appearance · AGPL-3.0