3 Commits

Author SHA1 Message Date
jayber
5a52092109 docs: updated prefix comments as per requests at end of README.md in Section "Completion", i.e. I added some hopefully useful text to errors4.rs and 5 and option1.rs 2 and 3. Just attempt to do something useful for repository as first commit. 2022-05-30 15:13:55 +01:00
Taylor Yu
b7ddd09fab address review feedback
Adjust error text and naming to conform with best practices.
Use `map_err()` instead of `or()`. Wrap lower-level errors instead of
ignoring their details.

Also, don't "cheat" by bypassing the `new()` function in tests.

Fix a dangling reference in the try_from_into hints.
2021-06-09 23:27:53 -05:00
Taylor Yu
68d3ac567c feature: improve error_handling exercises
Add new exercises errors5 and errors6, to introduce boxed errors and
custom error enums more gently. Delete errorsn, because it tried to do
too much too soon.
2021-06-06 23:08:57 -05:00