@@ -31,7 +31,7 @@ called.
3131
3232All JavaScript errors are handled as exceptions that *immediately* generate
3333and throw an error using the standard JavaScript `throw` mechanism. These
34- are handled using the [`try / catch` construct][try-catch] provided by the
34+ are handled using the [`try… catch` construct][try-catch] provided by the
3535JavaScript language.
3636
3737```js
4545```
4646
4747Any use of the JavaScript `throw` mechanism will raise an exception that
48- *must* be handled using `try / catch` or the Node.js process will exit
48+ *must* be handled using `try… catch` or the Node.js process will exit
4949immediately.
5050
5151With few exceptions, _Synchronous_ APIs (any blocking method that does not
@@ -90,7 +90,7 @@ Errors that occur within _Asynchronous APIs_ may be reported in multiple ways:
9090
9191- A handful of typically asynchronous methods in the Node.js API may still
9292 use the `throw` mechanism to raise exceptions that must be handled using
93- `try / catch`. There is no comprehensive list of such methods; please
93+ `try… catch`. There is no comprehensive list of such methods; please
9494 refer to the documentation of each method to determine the appropriate
9595 error handling mechanism required.
9696
@@ -116,7 +116,7 @@ setImmediate(() => {
116116});
117117```
118118
119- Errors generated in this way *cannot* be intercepted using `try / catch` as
119+ Errors generated in this way *cannot* be intercepted using `try… catch` as
120120they are thrown *after* the calling code has already exited.
121121
122122Developers must refer to the documentation for each method to determine
@@ -149,7 +149,7 @@ fs.readFile('/some/file/that/does-not-exist', errorFirstCallback);
149149fs.readFile('/some/file/that/does-exist', errorFirstCallback);
150150```
151151
152- The JavaScript `try / catch` mechanism **cannot** be used to intercept errors
152+ The JavaScript `try… catch` mechanism **cannot** be used to intercept errors
153153generated by asynchronous APIs. A common mistake for beginners is to try to
154154use `throw` inside an error-first callback:
155155
@@ -648,7 +648,7 @@ Used when a child process is being forked without specifying an IPC channel.
648648### ERR_CHILD_PROCESS_STDIO_MAXBUFFER
649649
650650Used when the main process is trying to read data from the child process's
651- STDERR / STDOUT, and the data's length is longer than the `maxBuffer` option.
651+ STDERR/ STDOUT, and the data's length is longer than the `maxBuffer` option.
652652
653653<a id="ERR_CLOSED_MESSAGE_PORT"></a>
654654### ERR_CLOSED_MESSAGE_PORT
0 commit comments