diff --git a/doc/api/errors.md b/doc/api/errors.md index 9c29c77224b25b..f2aca8549f4a92 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -688,12 +688,6 @@ Used when a child process is being forked without specifying an IPC channel. Used when the main process is trying to read data from the child process's STDERR/STDOUT, and the data's length is longer than the `maxBuffer` option. - -### ERR_CLOSED_MESSAGE_PORT - -There was an attempt to use a `MessagePort` instance in a closed -state, usually after `.close()` has been called. - ### ERR_CONSOLE_WRITABLE_STREAM @@ -1975,6 +1969,16 @@ A module file could not be resolved while attempting a [`require()`][] or > Stability: 0 - Deprecated. These error codes are either inconsistent, or have > been removed. + +### ERR_CLOSED_MESSAGE_PORT + + +There was an attempt to use a `MessagePort` instance in a closed +state, usually after `.close()` has been called. + ### ERR_HTTP2_FRAME_ERROR