Back to Browse

Panic!, Unrecoverable Errors and Debugging in Rust - Full Crash Rust Tutorial for Beginners

25.6K views
Jun 11, 2024
3:52

In this video, we dive into error handling in Rust, focusing on unrecoverable errors using the panic! macro. We start by explaining the basics of error handling in Rust and then move on to how the panic! macro is used for unrecoverable errors. You'll learn how to use a panic backtrace to debug issues and understand how a panic! call can indicate a bug in your code. We also compare Rust's approach to error handling with C's handling of undefined behavior. Finally, we wrap up with a brief conclusion. 0:00 Error Handling in Rust 0:42 Unrecoverable Errors with panic! 1:41 Using a panic! Backtrace 2:25 panic! call caused by a bug 2:58 C and its undefined behavior 3:27 Conclusion ALL THE LINKS HERE: https://francescociulla.com

Download

0 formats

No download links available.

Panic!, Unrecoverable Errors and Debugging in Rust - Full Crash Rust Tutorial for Beginners | NatokHD