youtube image
From YouTube: Rust Linz, January '22 - Error Handling in Rust - A Pragmatic Approach by Luca Palmieri

Description

Luca's talk is based on this article: https://www.lpalmieri.com/posts/error-handling-rust/

Rust does not rely on exceptions - errors are values, handled via the `Result` enum. Calling a fallible function forces you to account for errors - the type system does not let you ignore them.

Developers speak highly of Rust's approach to error handling. At the same time, they often report feeling lost and confused when modeling the unhappy path of their Rust applications. They have questions and the answers are not always straightforward: how do errors fit within the broader architecture of our application? What does a good error look like? What are errors for? Should we use a library? Which one?

This talk will offer a pragmatic framework to determine how to approach error modeling/handling in a variety of different scenarios.

About Luca Palmieri
Luca Palmieri is a Principal Engineer at TrueLayer. He is a co-organizer of the Rust London User Group and the author of "Zero To Production In Rust", an introduction to backend development using the Rust programming language.

He is the author of a few crates in the Rust ecosystem (e.g. cargo-chef, wiremock, ndarray-stats, linfa, etc.) as well as a few workshops (i.e. build-your-own-jira-with-rust and ndarray-koans).


Luca on Twitter: https://twitter.com/algo_luca
Luca's book: https://www.zero2prod.com/

We are aware of the audio issues.