Rust Devblog 261 !!top!! -

The Rust team has identified several goals for the new error handling system:

While this system has served Rust well, it has some limitations. One of the main issues is that it can be verbose and boilerplate-heavy to handle errors in a robust way. This can lead to developers taking shortcuts, such as using unwrap or expect to panic when an error occurs, rather than properly handling the error. rust devblog 261

The catch keyword will be used to handle any errors that occur in the try block. The catch block will take a single argument, which is the error that occurred. The Rust team has identified several goals for