GOTO - The Brightest Minds in Tech cover image

Rust in Action • Tim McNamara & Richard Feldman

GOTO - The Brightest Minds in Tech

00:00

How to Handle Errors in Rust

In Rust, errors are returned as values. You cannot forget to handle it. The compiler will be like, you forgot to handle this error here. And what's really amazing to me is that this is actually on in Rust as the result type. It's actually not part of the Rust language. It just falls out of enums. So there are these really powerful constructs that are consistent and embedded in the way.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app