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,4 +1,5 @@
# Error handling # Error handling
Most errors arent serious enough to require the program to stop entirely. Most errors arent serious enough to require the program to stop entirely.
Sometimes, when a function fails, its for a reason that you can easily interpret and respond to. Sometimes, when a function fails, its 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 doesnt 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 doesnt exist, you might want to create the file instead of terminating the process.