Merge pull request #1450 from guoard/patch-2

docs(error_handling): resolve markdownlint warnings
This commit is contained in:
liv 2023-03-30 09:19:20 +00:00 committed by GitHub
commit 362c1b0d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
# Error handling # Error handling
Most errors aren’t serious enough to require the program to stop entirely.
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. 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. 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.