diff --git a/doc/api/errors.md b/doc/api/errors.md index 3e94ce8e3bf709..af24fc2cb12225 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1669,6 +1669,16 @@ category. The `trace_events` module could not be loaded because Node.js was compiled with the `--without-v8-platform` flag. + +### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER + +A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine +or by Node.js was encountered during serialization. Such a `SharedArrayBuffer` +cannot be serialized. + +This can only happen when native addons create `SharedArrayBuffer`s in +"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode. + ### ERR_TRANSFORM_ALREADY_TRANSFORMING