Skip to content

Commit

Permalink
Use consistent tense and remove repetition in E introduction (isocpp#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amirlivneh authored and cubbimew committed Mar 8, 2019
1 parent e93462e commit 571ab49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CppCoreGuidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -15152,8 +15152,8 @@ Error handling involves:

* Detecting an error
* Transmitting information about an error to some handler code
* Preserve the state of a program in a valid state
* Avoid resource leaks
* Preserving a valid state of the program
* Avoiding resource leaks

It is not possible to recover from all errors. If recovery from an error is not possible, it is important to quickly "get out" in a well-defined way. A strategy for error handling must be simple, or it becomes a source of even worse errors. Untested and rarely executed error-handling code is itself the source of many bugs.

Expand Down

0 comments on commit 571ab49

Please sign in to comment.