diff options
author | Rich Trott <rtrott@gmail.com> | 2020-10-08 14:08:57 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-10 15:16:37 +0300 |
commit | 91f05448894e07831eb91118e5ab361a1c350116 (patch) | |
tree | 1423d2c368440e23b049499c91c3f980f6a4ae67 /doc/api/errors.md | |
parent | dabc6ddddc4d183e5f36698654d32925aec08383 (diff) |
doc: improve SIGINT error text
* add kbd elements
* correct period/parenthesis order
* make fragment a full sentence
PR-URL: https://github.com/nodejs/node/pull/35558
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r-- | doc/api/errors.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index fda3cfd93a5..1c98ce88fb4 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1911,8 +1911,8 @@ An attempt was made to `require()` an [ES Module][]. <a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a> ### `ERR_SCRIPT_EXECUTION_INTERRUPTED` -Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was -pressed). +Script execution was interrupted by `SIGINT` (For example, +<kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.) <a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a> ### `ERR_SCRIPT_EXECUTION_TIMEOUT` |