Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Farias <bradley.meck@gmail.com>2020-11-30 19:03:30 +0300
committerRich Trott <rtrott@gmail.com>2022-02-10 06:47:12 +0300
commitceadb473e6d3a22f38b737108fb5ac943bf8be09 (patch)
tree183acc918ce5dcf7d36e97adbdda96b3c594a57c /doc/api/errors.md
parent52b1904a0dd4fe28cc7d62a9389892dedb0b1df2 (diff)
esm: support https remotely and http locally under flag
Co-authored-by: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com> Co-authored-by: James M Snell <jasnell@gmail.com> Co-authored-by: Jordan Harband <ljharb@gmail.com> Co-authored-by: James Sumners <james@sumners.email> PR-URL: https://github.com/nodejs/node/pull/36328 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 8ec3923e6a8..b26829be000 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -3119,6 +3119,23 @@ removed: v10.0.0
Used by the `Node-API` when `Constructor.prototype` is not an object.
+<a id="ERR_NETWORK_IMPORT_BAD_RESPONSE"></a>
+
+### `ERR_NETWORK_IMPORT_BAD_RESPONSE`
+
+> Stability: 1 - Experimental
+
+Response was received but was invalid when importing a module over the network.
+
+<a id="ERR_NETWORK_IMPORT_DISALLOWED"></a>
+
+### `ERR_NETWORK_IMPORT_DISALLOWED`
+
+> Stability: 1 - Experimental
+
+A network module attempted to load another module that it is not allowed to
+load. Likely this restriction is for security reasons.
+
<a id="ERR_NO_LONGER_SUPPORTED"></a>
### `ERR_NO_LONGER_SUPPORTED`