A Novel Look at Error Handling in Rust
DRANK

There has been a lot said about error handling in rust. There are many different opinions about how to structure your errors, when to use panics, and the role of proc-macros in error handling. Most of the discussion around rust error handling makes the assumption that when an error occurs you either pass the error up to the caller or you try to completely recover and continue on. While this describes many situations, it fails to address all of them. I want to take a different look at error handling and how it can be approached. This is not meant to replace the mainstream miasma of error propogation, it is merely meant to add a new tool in your toolbelt.

jtjlehi.github.io
Related Topics: Rust
1 comments
  • エラーハンドリングは処理するかそのまま返すかの二択になりがちだが、「失敗したがデフォルト値で継続した」みたいな成功と失敗の混合も扱いたいよねって話

    A Novel Look at Error Handling in Rust | Jared Jacobson’s Programming Blog
    jtjlehi.github.io/2026/06/25/nov…