| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 098a311 commit aaeced9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -357,9 +357,10 @@ of argument validation. | |||
| 357 | 357 | ||
| 358 | 358 | <!--type=misc--> | |
| 359 | 359 | ||
| 360 | - A JavaScript "exception" is a value that is thrown as a result of an invalid operation or | ||
| 361 | - as the target of a `throw` statement. While it is not required that these values inherit from | ||
| 362 | - `Error`, all exceptions thrown by Node.js or the JavaScript runtime *will* be instances of Error. | ||
| 360 | + A JavaScript exception is a value that is thrown as a result of an invalid operation or | ||
| 361 | + as the target of a `throw` statement. While it is not required that these values are instances of | ||
| 362 | + `Error` or classes which inherit from `Error`, all exceptions thrown by Node.js or the JavaScript | ||
| 363 | + runtime *will* be instances of Error. | ||
| 363 | 364 | ||
| 364 | 365 | Some exceptions are *unrecoverable* at the JavaScript layer. These exceptions will always bring | |
| 365 | 366 | down the process. These are usually failed `assert()` checks or `abort()` calls in the C++ layer. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments