Skip to content

Commit

Permalink
doc: remove extra 'in's
Browse files Browse the repository at this point in the history
'when in an' -> 'when an'

PR-URL: #43705
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
cjihrig authored and targos committed Jul 12, 2022
1 parent 7679c77 commit 088b926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ changes:
* `err` {Error} The uncaught exception.
* `origin` {string} Indicates if the exception originates from an unhandled
rejection or from a synchronous error. Can either be `'uncaughtException'` or
`'unhandledRejection'`. The latter is used when in an exception happens in a
`'unhandledRejection'`. The latter is used when an exception happens in a
`Promise` based async context (or if a `Promise` is rejected) and
[`--unhandled-rejections`][] flag set to `strict` or `throw` (which is the
default) and the rejection is not handled, or when a rejection happens during
Expand Down Expand Up @@ -438,7 +438,7 @@ added:
* `err` {Error} The uncaught exception.
* `origin` {string} Indicates if the exception originates from an unhandled
rejection or from synchronous errors. Can either be `'uncaughtException'` or
`'unhandledRejection'`. The latter is used when in an exception happens in a
`'unhandledRejection'`. The latter is used when an exception happens in a
`Promise` based async context (or if a `Promise` is rejected) and
[`--unhandled-rejections`][] flag set to `strict` or `throw` (which is the
default) and the rejection is not handled, or when a rejection happens during
Expand Down

0 comments on commit 088b926

Please sign in to comment.