errors: add ERR_INSPECTOR_COMMAND error
This error is used to propagate errors returned from the inspector module's command system. PR-URL: https://github.com/nodejs/node/pull/26255 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
907941d48e
commit
d7a3c3cecc
@ -1159,6 +1159,11 @@ inspector was already connected.
|
||||
While using the `inspector` module, an attempt was made to use the inspector
|
||||
after the session had already closed.
|
||||
|
||||
<a id="ERR_INSPECTOR_COMMAND"></a>
|
||||
### ERR_INSPECTOR_COMMAND
|
||||
|
||||
An error occurred while issuing a command via the `inspector` module.
|
||||
|
||||
<a id="ERR_INSPECTOR_NOT_AVAILABLE"></a>
|
||||
### ERR_INSPECTOR_NOT_AVAILABLE
|
||||
|
||||
|
@ -706,6 +706,7 @@ E('ERR_INCOMPATIBLE_OPTION_PAIR',
|
||||
'Option "%s" can not be used in combination with option "%s"', TypeError);
|
||||
E('ERR_INSPECTOR_ALREADY_CONNECTED', '%s is already connected', Error);
|
||||
E('ERR_INSPECTOR_CLOSED', 'Session was closed', Error);
|
||||
E('ERR_INSPECTOR_COMMAND', 'Inspector error %d: %s', Error);
|
||||
E('ERR_INSPECTOR_NOT_AVAILABLE', 'Inspector is not available', Error);
|
||||
E('ERR_INSPECTOR_NOT_CONNECTED', 'Session is not connected', Error);
|
||||
E('ERR_INVALID_ADDRESS_FAMILY', 'Invalid address family: %s', RangeError);
|
||||
|
Loading…
x
Reference in New Issue
Block a user