Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 65922ea

Browse files
authored
Reword sentence on std::exception use a bit
1 parent f3e2a6d commit 65922ea

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

03_Drawing_a_triangle/00_Setup/00_Base_code.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ the resources we've used in the `cleanup` function.
6565
If any kind of fatal error occurs during execution then we'll throw a
6666
`std::runtime_error` exception with a descriptive message, which will propagate
6767
back to the `main` function and be printed to the command prompt. To handle
68-
a variety of standard exception types as well, we catch `std::exception` by
69-
refference. One example of an error that we will deal with soon is finding
68+
a variety of standard exception types as well, we catch the more general `std::exception`. One example of an error that we will deal with soon is finding
7069
out that a certain required extension is not supported.
7170

7271
Roughly every chapter that follows after this one will add one new function that

0 commit comments

Comments
 (0)