| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f926a49 commit ad06e3d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1225,7 +1225,8 @@ occurs. One of the following modes can be chosen: | |||
| 1225 | 1225 | ||
| 1226 | 1226 | * `throw`: Emit [`unhandledRejection`][]. If this hook is not set, raise the | |
| 1227 | 1227 | unhandled rejection as an uncaught exception. This is the default. | |
| 1228 | - * `strict`: Raise the unhandled rejection as an uncaught exception. | ||
| 1228 | + * `strict`: Raise the unhandled rejection as an uncaught exception. If the | ||
| 1229 | + exception is handled, [`unhandledRejection`][] is emitted. | ||
| 1229 | 1230 | * `warn`: Always trigger a warning, no matter if the [`unhandledRejection`][] | |
| 1230 | 1231 | hook is set or not but do not print the deprecation warning. | |
| 1231 | 1232 | * `warn-with-error-code`: Emit [`unhandledRejection`][]. If this hook is not | |
| Back | FazBrowse Home | New Git URL |
0 commit comments