6 months ago
19 lines486 B
Lesson 7: Error handling with Result
We look at error handling with Result the way working developers use it, with examples you can change and run straight away.
Read the full lesson: https://glibcode.net/courses/rust-ownership/lessons/7
Files
src/main.rs: Result, the ? operator and a custom error
Run it
cargo run
Exercises
See exercises.md. Ask in the forum once you've tried.