diff options
author | cjihrig <cjihrig@gmail.com> | 2019-01-27 19:08:35 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-01-30 15:52:46 -0500 |
commit | 5aa89d616f8b30e5ea73bd9f0f12bf13ef184e5a (patch) | |
tree | 380a013e5cf60090c6f8551f9029ee78d33ef320 /doc | |
parent | 80a18cac8bc5acaac0ece301cff21066d0464499 (diff) | |
download | android-node-v8-5aa89d616f8b30e5ea73bd9f0f12bf13ef184e5a.tar.gz android-node-v8-5aa89d616f8b30e5ea73bd9f0f12bf13ef184e5a.tar.bz2 android-node-v8-5aa89d616f8b30e5ea73bd9f0f12bf13ef184e5a.zip |
lib: refactor ERR_SYNTHETIC
- Tidy up description in docs.
- Remove a second definition in the docs.
- Remove unused string input parameter.
- Remove duplicate "JavaScript Callstack" in error messages.
PR-URL: https://github.com/nodejs/node/pull/25749
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index f95e33855c..89d51ca084 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1692,8 +1692,8 @@ length. <a id="ERR_SYNTHETIC"></a> #### ERR_SYNTHETIC -An artificial error object used to capture call stack when diagnostic report -is produced. +An artificial error object used to capture the call stack for diagnostic +reports. <a id="ERR_SYSTEM_ERROR"></a> ### ERR_SYSTEM_ERROR @@ -2233,12 +2233,6 @@ size. This `Error` is thrown when a read is attempted on a TTY `WriteStream`, such as `process.stdout.on('data')`. -<a id="ERR_SYNTHETIC"></a> -#### ERR_SYNTHETIC - -An artifical error object used to capture call stack when diagnostic report -is produced. - [`'uncaughtException'`]: process.html#process_event_uncaughtexception [`--force-fips`]: cli.html#cli_force_fips |