Skip to content

Commit 9b993ed

Browse files
Trottrichardlau
authored andcommitted
errors: add ERR_DEBUGGER_STARTUP_ERROR
PR-URL: #39024 Backport-PR-URL: #39446 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 5d4d23d commit 9b993ed

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/api/errors.md

+8
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,14 @@ added: REPLACEME
884884

885885
An error occurred with the [debugger][].
886886

887+
<a id="ERR_DEBUGGER_STARTUP_ERROR"></a>
888+
### `ERR_DEBUGGER_STARTUP_ERROR`
889+
<!-- YAML
890+
added: REPLACEME
891+
-->
892+
893+
The [debugger][] timed out waiting for the required host/port to be free.
894+
887895
<a id="ERR_DIR_CLOSED"></a>
888896
### `ERR_DIR_CLOSED`
889897

lib/internal/errors.js

+1
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ E('ERR_CRYPTO_SCRYPT_NOT_SUPPORTED', 'Scrypt algorithm not supported', Error);
832832
// Switch to TypeError. The current implementation does not seem right.
833833
E('ERR_CRYPTO_SIGN_KEY_REQUIRED', 'No key provided to sign', Error);
834834
E('ERR_DEBUGGER_ERROR', '%s', Error);
835+
E('ERR_DEBUGGER_STARTUP_ERROR', '%s', Error);
835836
E('ERR_DIR_CLOSED', 'Directory handle was closed', Error);
836837
E('ERR_DIR_CONCURRENT_OPERATION',
837838
'Cannot do synchronous work on directory handle with concurrent ' +

0 commit comments

Comments
 (0)