Skip to content
0:00 / 0:00

#error-stack#error-handling

Simple error handling in Rust

Let's Get Rusty

177K subscribers • 8 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptionletsgetrusty/error-stack-demo
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

36K views4 years ago2 recommendations

Programming languagesSoftware designRust

A tutorial on how to implement robust error handling in Rust using the error-stack library.

Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside): letsgetrusty.com/join Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired. · In today's video, we are talking about error handling in Rust with error-stack. Code: github.com/letsgetrusty/error-stack-demo Blog post: hash.dev/blog/announcing-error-stack Timestamps: Intro error-stack Origins Example Overview Adding Error Handling Outro #rust #programming #tutorial

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide for learning how to use the error-stack crate for Rust error handling.

u/Speykiousin r/rust • Recommends

On “Is there a crate that generates sum types for errors?”

Look into `error-stack`. *Let's Get Rusty* made a video about it on YouTube.

u/matiu2in r/rust • Recommends

On “What little known Rust feature or standard library function would you put on a flashcard?”

This video is what got me into it: link to this video My method is still evolving but here's some recent usage: https://github.com/matiu2/oanda_converter/blob/main/web_scraper/src/lib.rs