rustlings/exercises/13_error_handling
cassian-goode 3cc7e0377c
Fix typo - errors5.rs
Minor typo correction in exercise instructions
2025-03-25 09:24:49 -04:00
..
errors1.rs Remove dot for copy-pasta 2024-08-17 15:45:02 +02:00
errors2.rs Improve a comment in errors2 2024-07-04 13:03:05 +02:00
errors3.rs errors3: Add a comment to prevent changing the wrong line 2024-07-08 15:05:58 +02:00
errors4.rs Use match instead of comparison chain 2024-08-22 14:37:47 +02:00
errors5.rs Fix typo - errors5.rs 2025-03-25 09:24:49 -04:00
errors6.rs chore: Fix snakecase convention in errors6.rs 2024-08-04 02:36:45 -04:00
README.md Use consistent apostrophes in markdown files 2025-02-28 11:46:39 +11: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