1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-01-24 04:16:19 +02:00
diannasoreil 51817820f2
Merge pull request #961 from J-S-Kim/main
fix(errors6.rs): remove one answer code
2022-04-14 10:44:22 +02:00
..
2021-06-06 23:08:54 -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