Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 631856e

Browse filesBrowse files
Trottdanielleadams
authored andcommitted
errors: add ERR_DEBUGGER_ERROR
PR-URL: #39024 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
1 parent 7f225a0 commit 631856e
Copy full SHA for 631856e

File tree

Expand file treeCollapse file tree

2 files changed

+10
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+9Lines changed: 9 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,14 @@ added: v15.0.0
10031003

10041004
An attempt to invoke an unsupported crypto operation was made.
10051005

1006+
<a id="ERR_DEBUGGER_ERROR"></a>
1007+
### `ERR_DEBUGGER_ERROR`
1008+
<!-- YAML
1009+
added: REPLACEME
1010+
-->
1011+
1012+
An error occurred with the [debugger][].
1013+
10061014
<a id="ERR_DLOPEN_FAILED"></a>
10071015
### `ERR_DLOPEN_FAILED`
10081016
<!-- YAML
@@ -2827,6 +2835,7 @@ The native call from `process.cpuUsage` could not be processed.
28272835
[`util.getSystemErrorName(error.errno)`]: util.md#util_util_getsystemerrorname_err
28282836
[`zlib`]: zlib.md
28292837
[crypto digest algorithm]: crypto.md#crypto_crypto_gethashes
2838+
[debugger]: debugger.md
28302839
[define a custom subpath]: packages.md#packages_subpath_exports
28312840
[domains]: domain.md
28322841
[event emitter-based]: events.md#events_class_eventemitter
Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ E('ERR_CRYPTO_SCRYPT_INVALID_PARAMETER', 'Invalid scrypt parameter', Error);
890890
E('ERR_CRYPTO_SCRYPT_NOT_SUPPORTED', 'Scrypt algorithm not supported', Error);
891891
// Switch to TypeError. The current implementation does not seem right.
892892
E('ERR_CRYPTO_SIGN_KEY_REQUIRED', 'No key provided to sign', Error);
893+
E('ERR_DEBUGGER_ERROR', '%s', Error);
893894
E('ERR_DIR_CLOSED', 'Directory handle was closed', Error);
894895
E('ERR_DIR_CONCURRENT_OPERATION',
895896
'Cannot do synchronous work on directory handle with concurrent ' +

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.