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

YouTube

Error Handling in Rust - A Pragmatic Approach

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore error handling in Rust through this informative conference talk by Luca Palmieri. Gain insights into Rust's unique approach to error management, which relies on the `Result` enum rather than exceptions. Learn how to effectively model and handle errors in various scenarios, addressing common questions and challenges faced by Rust developers. Discover a pragmatic framework for error handling, understand the role of errors in application architecture, and explore best practices for creating good error types. Benefit from Palmieri's expertise as a Principal Engineer and Rust ecosystem contributor as he discusses topics such as error reporting, lazy error types, and the differences between error handling in applications and libraries. Enhance your Rust programming skills and learn to leverage the language's type system for robust error management.

Syllabus

Introduction
Terminology
Tools
Problem Solving
Error Reporting
Error Type
Lazy Error Type
SixStep Code
Source vs API
Trade objects
Error trait
Comparison with Standard Library
What are required
Error Types
Applications and Libraries
Summary

Taught by

Rust

Reviews

Start your review of Error Handling in Rust - A Pragmatic Approach

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.