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...
The Edition Guide explanation of the "?" operator: https://doc.rust-lang.org/edition-gui...
Error Chain crate: https://crates.io/crates/error-chain
Rust by Example -- From and Into traits: https://doc.rust-lang.org/rust-by-exa...
My social links:
Twitter: / crazcalm
IG: / crazcalm.tech.stack
Sur cette page du site, vous pouvez voir la vidéo en ligne Rust: Error Handling durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Crazcalm's Tech Stack 05 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,304 fois et il a aimé 136 téléspectateurs. Bon visionnage!