Back to Browse

Rust: Error Handling

2.3K views
Jun 5, 2020
15:11

This video covers how to covert third party errors into your own errors. The purpose of the "?" operator is also explained. We also go over the basics of how to use/implement the From trait. Links: - From trait docs: https://doc.rust-lang.org/std/convert/trait.From.html - The Edition Guide explanation of the "?" operator: https://doc.rust-lang.org/edition-guide/rust-2018/error-handling-and-panics/the-question-mark-operator-for-easier-error-handling.html - Error Chain crate: https://crates.io/crates/error-chain - Rust by Example -- From and Into traits: https://doc.rust-lang.org/rust-by-example/conversion/from_into.html My social links: - Twitter: https://twitter.com/Crazcalm - IG: https://www.instagram.com/crazcalm.tech.stack/

Download

0 formats

No download links available.

Rust: Error Handling | NatokHD