summaryrefslogtreecommitdiffstats
path: root/src/doc/book/redirects/error-handling.md
blob: 7abc9642b6fa8c1e908a57c039d2924bf126a7b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% Error Handling

<small>There is a new edition of the book and this is an old link.</small>

> 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:

* **[in the current edition: Ch 9.00 — Error Handling][2]**
* <small>[In the first edition: Ch 4.7 — Error Handling][1]</small>


[1]: https://doc.rust-lang.org/1.30.0/book/first-edition/error-handling.html
[2]: ch09-00-error-handling.html