From f585f81f9ddee4fa58c7051e28ec1f901ee9da14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=A4chter?= Date: Mon, 21 Sep 2015 22:02:28 +0200 Subject: [PATCH] Fixed a paragraph and typo --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index c4af160..df57f3d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -8105,13 +8105,13 @@ Lock-free programming rule summary: # E: Error handling -Error handling involves +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 -* + 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. The rules are designed to help avoid several kinds of errors: