Let's tackle 2 topics today. One of them is about dealing with possible errors and/or mistakes we might encounter in our developing journey in Rust. The other is about learning how to write code with these in mind.
Table of contents:
Error HandlingTo panic! or not to panic!ResultUnwrap and ExpectError Propagating
Let us get started with Error Handling in Rust.
Error handling
Errors will happen. There's no way around it. Even the best programmers out there make mistakes. The more you make a...
Published on October 31, 2021 02:11