Skip to content

Commit 088b926

Browse files
cjihrigtargos
authored andcommitted
doc: remove extra 'in's
'when in an' -> 'when an' PR-URL: #43705 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 7679c77 commit 088b926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ changes:
340340
* `err` {Error} The uncaught exception.
341341
* `origin` {string} Indicates if the exception originates from an unhandled
342342
rejection or from a synchronous error. Can either be `'uncaughtException'` or
343-
`'unhandledRejection'`. The latter is used when in an exception happens in a
343+
`'unhandledRejection'`. The latter is used when an exception happens in a
344344
`Promise` based async context (or if a `Promise` is rejected) and
345345
[`--unhandled-rejections`][] flag set to `strict` or `throw` (which is the
346346
default) and the rejection is not handled, or when a rejection happens during
@@ -438,7 +438,7 @@ added:
438438
* `err` {Error} The uncaught exception.
439439
* `origin` {string} Indicates if the exception originates from an unhandled
440440
rejection or from synchronous errors. Can either be `'uncaughtException'` or
441-
`'unhandledRejection'`. The latter is used when in an exception happens in a
441+
`'unhandledRejection'`. The latter is used when an exception happens in a
442442
`Promise` based async context (or if a `Promise` is rejected) and
443443
[`--unhandled-rejections`][] flag set to `strict` or `throw` (which is the
444444
default) and the rejection is not handled, or when a rejection happens during

0 commit comments

Comments
 (0)