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 0034820

Browse filesBrowse files
cjihrigaddaleax
authored andcommitted
errors: add ERR_INSPECTOR_COMMAND error
This error is used to propagate errors returned from the inspector module's command system. PR-URL: #26255 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 0017855 commit 0034820
Copy full SHA for 0034820

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

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

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,11 @@ inspector was already connected.
11591159
While using the `inspector` module, an attempt was made to use the inspector
11601160
after the session had already closed.
11611161

1162+
<a id="ERR_INSPECTOR_COMMAND"></a>
1163+
### ERR_INSPECTOR_COMMAND
1164+
1165+
An error occurred while issuing a command via the `inspector` module.
1166+
11621167
<a id="ERR_INSPECTOR_NOT_AVAILABLE"></a>
11631168
### ERR_INSPECTOR_NOT_AVAILABLE
11641169

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
@@ -706,6 +706,7 @@ E('ERR_INCOMPATIBLE_OPTION_PAIR',
706706
'Option "%s" can not be used in combination with option "%s"', TypeError);
707707
E('ERR_INSPECTOR_ALREADY_CONNECTED', '%s is already connected', Error);
708708
E('ERR_INSPECTOR_CLOSED', 'Session was closed', Error);
709+
E('ERR_INSPECTOR_COMMAND', 'Inspector error %d: %s', Error);
709710
E('ERR_INSPECTOR_NOT_AVAILABLE', 'Inspector is not available', Error);
710711
E('ERR_INSPECTOR_NOT_CONNECTED', 'Session is not connected', Error);
711712
E('ERR_INVALID_ADDRESS_FAMILY', 'Invalid address family: %s', RangeError);

0 commit comments

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