summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-09-25 17:11:50 -0700
committerJames M Snell <jasnell@gmail.com>2017-10-16 09:31:18 -0700
commit4cf56ad6f2adc51be9ba2335263a0cf8e08d36c7 (patch)
tree92fe100d914dd014833a81b30b6d50eb451aa05f /doc/api
parentb93285454ac96952a33ed9655661c2bbea35667f (diff)
downloadnode-new-4cf56ad6f2adc51be9ba2335263a0cf8e08d36c7.tar.gz
inspector: migrate to internal/errors
PR-URL: https://github.com/nodejs/node/pull/15619 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/errors.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index b6514b2d2e..5aa39baadd 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -885,6 +885,31 @@ Used when `http2.connect()` is passed a URL that uses any protocol other than
Used when a given index is out of the accepted range (e.g. negative offsets).
+<a id="ERR_INSPECTOR_ALREADY_CONNECTED"></a>
+### ERR_INSPECTOR_ALREADY_CONNECTED
+
+When using the `inspector` module, the `ERR_INSPECTOR_ALREADY_CONNECTED` error
+code is used when an attempt is made to connect when the inspector is already
+connected.
+
+<a id="ERR_INSPECTOR_CLOSED"></a>
+### ERR_INSPECTOR_CLOSED
+
+When using the `inspector` module, the `ERR_INSPECTOR_CLOSED` error code is
+used when an attempt is made to use the inspector after the session has
+already closed.
+
+<a id="ERR_INSPECTOR_NOT_AVAILABLE"></a>
+### ERR_INSPECTOR_NOT_AVAILABLE
+
+Used to identify when the `inspector` module is not available for use.
+
+<a id="ERR_INSPECTOR_NOT_CONNECTED"></a>
+### ERR_INSPECTOR_NOT_CONNECTED
+
+When using the `inspector` module, the `ERR_INSPECTOR_NOT_CONNECTED` error code
+is used when an attempt is made to use the inspector before it is connected.
+
<a id="ERR_INVALID_ARG_TYPE"></a>
### ERR_INVALID_ARG_TYPE