From 4cf56ad6f2adc51be9ba2335263a0cf8e08d36c7 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 25 Sep 2017 17:11:50 -0700 Subject: inspector: migrate to internal/errors PR-URL: https://github.com/nodejs/node/pull/15619 Reviewed-By: Luigi Pinca Reviewed-By: Ali Ijaz Sheikh Reviewed-By: Joyee Cheung --- doc/api/errors.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'doc/api') 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). + +### 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. + + +### 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. + + +### ERR_INSPECTOR_NOT_AVAILABLE + +Used to identify when the `inspector` module is not available for use. + + +### 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. + ### ERR_INVALID_ARG_TYPE -- cgit v1.2.1