Tags: #error #handling #strategy
"Errors can have a variety of reasons: The user enters weird input, the operating system cannot give you a file handle or some code dereferences a nullptr. Each of these errors here is different and needs different treatment. "
https://foonathan.github.io/blog/2016/09/07/error-handling-strategy.html
"Errors can have a variety of reasons: The user enters weird input, the operating system cannot give you a file handle or some code dereferences a nullptr. Each of these errors here is different and needs different treatment. "
https://foonathan.github.io/blog/2016/09/07/error-handling-strategy.html
foonathan.github.io
Choosing the right error handling strategy
If you have an error, you have to write code to deal with it. But how do you respond to the error? This post describes the various kinds of errors and how to react to them.