Skip to content

Commit 6dbff83

Browse files
committed
errors: add ERR_DEBUGGER_STARTUP_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 fa009e1 commit 6dbff83

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/api/errors.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,14 @@ added: REPLACEME
10151015

10161016
An error occurred with the [debugger][].
10171017

1018+
<a id="ERR_DEBUGGER_STARTUP_ERROR"></a>
1019+
### `ERR_DEBUGGER_STARTUP_ERROR`
1020+
<!-- YAML
1021+
added: REPLACEME
1022+
-->
1023+
1024+
The [debugger][] timed out waiting for the required host/port to be free.
1025+
10181026
<a id="ERR_DLOPEN_FAILED"></a>
10191027
### `ERR_DLOPEN_FAILED`
10201028
<!-- YAML

lib/internal/errors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ 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);
893893
E('ERR_DEBUGGER_ERROR', '%s', Error);
894+
E('ERR_DEBUGGER_STARTUP_ERROR', '%s', Error);
894895
E('ERR_DIR_CLOSED', 'Directory handle was closed', Error);
895896
E('ERR_DIR_CONCURRENT_OPERATION',
896897
'Cannot do synchronous work on directory handle with concurrent ' +

0 commit comments

Comments
 (0)