Skip to content

Commit 2ed44d6

Browse files
committed
errors: add ERR_DEBUGGER_STARTUP_ERROR
1 parent eebc250 commit 2ed44d6

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
@@ -1011,6 +1011,14 @@ added: REPLACEME
10111011

10121012
An error occurred with the [debugger][].
10131013

1014+
<a id="ERR_DEBUGGER_STARTUP_ERROR"></a>
1015+
### `ERR_DEBUGGER_STARTUP_ERROR`
1016+
<!-- YAML
1017+
added: REPLACEME
1018+
-->
1019+
1020+
The [debugger][] timed out waiting for the required host/port to be free.
1021+
10141022
<a id="ERR_DLOPEN_FAILED"></a>
10151023
### `ERR_DLOPEN_FAILED`
10161024
<!-- 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)