diff options
author | Gus Caplan <me@gus.host> | 2022-04-22 05:08:16 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2022-04-28 07:57:23 +0300 |
commit | 0e16120d0dcaa0eb6e075325d077480caf8c3e7a (patch) | |
tree | 5b17bcdb88066dda528f567a50ec63645fad291c /doc | |
parent | 494650c09f77c4f8bed6270cdec37601f46fc7c0 (diff) |
errors,vm: update error and use cause
PR-URL: https://github.com/nodejs/node/pull/42820
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 22295985020..b174db7b615 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2853,12 +2853,6 @@ Cached data cannot be created for modules which have already been evaluated. The module being returned from the linker function is from a different context than the parent module. Linked modules must share the same context. -<a id="ERR_VM_MODULE_LINKING_ERRORED"></a> - -### `ERR_VM_MODULE_LINKING_ERRORED` - -The linker function returned a module for which linking has failed. - <a id="ERR_VM_MODULE_LINK_FAILURE"></a> ### `ERR_VM_MODULE_LINK_FAILURE` @@ -3344,6 +3338,17 @@ Used when a given value is out of the accepted range. The module must be successfully linked before instantiation. +<a id="ERR_VM_MODULE_LINKING_ERRORED"></a> + +### `ERR_VM_MODULE_LINKING_ERRORED` + +<!-- YAML +added: v10.0.0 +removed: REPLACEME +--> + +The linker function returned a module for which linking has failed. + <a id="ERR_WORKER_UNSUPPORTED_EXTENSION"></a> ### `ERR_WORKER_UNSUPPORTED_EXTENSION` |