1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-01-26 04:22:03 +02:00
zydxhs cbcde34540
fix(errors1): Add a comment to make the purpose more clear (#486)
Signed-off-by: zydxhs <johnsmithcry@163.com>
2022-02-04 15:00:24 +01:00
..
2021-06-06 23:08:54 -05:00
2021-06-09 23:27:53 -05:00
2021-06-09 23:27:53 -05:00

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.

Further information