mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Use consistent tense and remove repetition in E introduction (#1372)
This commit is contained in:
committed by
Sergey Zubkov
parent
e93462e1d7
commit
571ab494a8
@@ -15152,8 +15152,8 @@ Error handling involves:
|
|||||||
|
|
||||||
* Detecting an error
|
* Detecting an error
|
||||||
* Transmitting information about an error to some handler code
|
* Transmitting information about an error to some handler code
|
||||||
* Preserve the state of a program in a valid state
|
* Preserving a valid state of the program
|
||||||
* Avoid resource leaks
|
* 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user