summaryrefslogtreecommitdiff
path: root/exercises/error_handling/README.md
diff options
context:
space:
mode:
authorZerotask <Zerotask@users.noreply.github.com>2021-04-23 19:54:31 +0200
committerZerotask <Zerotask@users.noreply.github.com>2021-04-23 19:54:31 +0200
commit249ad44cc03974fd34708c23d9832b1729c6e844 (patch)
treedb25c5f51d76d10bc129dbcc8df2c56c75b13f2b /exercises/error_handling/README.md
parent54804e344d84bb620447b7975a5b8ec4f9de2671 (diff)
docs(exercises): updated all exercises readme files
all exercises readme files now have a unified structure and a description
Diffstat (limited to 'exercises/error_handling/README.md')
-rw-r--r--exercises/error_handling/README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/exercises/error_handling/README.md b/exercises/error_handling/README.md
index 478510a..5255ace 100644
--- a/exercises/error_handling/README.md
+++ b/exercises/error_handling/README.md
@@ -1,11 +1,11 @@
-For this exercise check out the sections:
-- [Error Handling](https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html)
-- [Generics](https://doc.rust-lang.org/book/ch10-01-syntax.html)
+# Error handling
+Most errors aren’t serious enough to require the program to stop entirely.
+Sometimes, when a function fails, it’s for a reason that you can easily interpret and respond to.
+For example, if you try to open a file and that operation fails because the file doesn’t exist, you might want to create the file instead of terminating the process.
-of the Rust Book.
+## Further information
-or alternatively, check out the sections:
+- [Error Handling](https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html)
+- [Generics](https://doc.rust-lang.org/book/ch10-01-syntax.html)
- [Result](https://doc.rust-lang.org/rust-by-example/error/result.html)
- [Boxing errors](https://doc.rust-lang.org/rust-by-example/error/multiple_error_types/boxing_errors.html)
-
-of the Rust By Example Book.