main rust-ownership/lessons/07-error-handling-with-result

README.md

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.