Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Error Handling in Rust - Patterns, Practices, and Libraries - RustConf 2020

Rust via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains Rust error-handling patterns and when to use them. It covers defining and reporting errors, adding context, and choosing libraries for error handling in libraries and applications.

Syllabus

Intro
Awesome Rust Mentors
Why Error Handling?
What Is Error Handling?
Panic
Definitions
The Error Trait - An Error
The Error Trait - A Reporter
Error Return Traces
TIPS - Reporters
Libraries
Defining - thiserror
Defining - SNAFU
API Stability
Stack Size
Gathering Context-tracing-error
Gathering Context - extracter
Matching and Reacting -anyhow/eyre
Reporting
Library vs Application

Taught by

Rust

Reviews

Start your review of Error Handling in Rust - Patterns, Practices, and Libraries - RustConf 2020

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.