Post

The Missing Piece in Rust Error Handling

This article argues that Rust’s error APIs can preserve concrete error types without forcing each combination into a bespoke enum. It presents an error-set approach, using eros to compose errors from operations while keeping function signatures explicit; the trade-off is an additional library and API pattern to evaluate against existing typed-enum and opaque-error approaches.

The Lobsters page showed no readable comments when checked, despite the front-page snapshot listing five.

This looks … very nice. The only thing I“m worried about are compilation times (especially cargo check) given amount of type system , and context proc-macro (which is actually how I always wanted context to work).