Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit b7fa753

Browse files
authored
errors remove a couple notes (#8)
1 parent aab5516 commit b7fa753

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

book/08/error_types.ipynb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,6 @@
228228
"The difference between the 2 results is nearly 0.75, which can be very high depending on its use."
229229
]
230230
},
231-
{
232-
"cell_type": "markdown",
233-
"metadata": {},
234-
"source": [
235-
"```{note}\n",
236-
"For now you are only expected to recognize what a logical error is and how it is different than a Syntax error or Exception. When we learn how to address this type of error later, for example when we incorporate tests into our code.\n",
237-
"```"
238-
]
239-
},
240231
{
241232
"cell_type": "markdown",
242233
"metadata": {},

book/08/handling_errors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"# Handling errors: the `try - except` block <a id='try_except'></a>\n",
88
"If exceptions are not handled properly, the application will crash during execution as we have seen in the examples above. As a result, handling exceptions is important, because we want to minimise application crashes. Sometimes this is called \"catching\" errors.\n",
99
"\n",
10-
"It is important to also think about *when* we should catch errors: this is when you expect the error to be _recoverable_. In other words, dealing with isthe error should not affect future code that will run. Some errors are _fatal_ and should be left to crash the program since things won't work out anyways (we will learn how to distinguish this behavior in the logging section).\n",
10+
"It is important to also think about *when* we should catch errors: this is when you expect the error to be _recoverable_. In other words, dealing with isthe error should not affect future code that will run. Some errors are _fatal_ and should be left to crash the program since things won't work out anyways.\n",
1111
"\n",
1212
"To handle exceptions, we can make use of `try - except` block, where we can catch exceptions and handle them in the way we wish. Thus, if an exception is *raised*, the application is not going to crash.\n",
1313
"\n",

0 commit comments

Comments
 (0)