Rust logo
Rust 1.81.0
eeb90cda1

Error Handling

There is a new edition of the book and this is an old link.

Rust groups errors into two major categories: recoverable errors with Result<T, E> and unrecoverable errors with panic!.


Here are the relevant sections in the new and old books: