diff --git a/doc/api/errors.md b/doc/api/errors.md
index e3eb498e96a0ac..11d0036386cc45 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1727,11 +1727,6 @@ value.
While using [`dgram.createSocket()`][], the size of the receive or send `Buffer`
could not be determined.
-
-### `ERR_SOCKET_CANNOT_SEND`
-
-Data could be sent on a socket.
-
### `ERR_SOCKET_CLOSED`
@@ -2293,6 +2288,15 @@ removed: v10.0.0
The `repl` module was unable to parse data from the REPL history file.
+
+### `ERR_SOCKET_CANNOT_SEND`
+
+
+Data could be sent on a socket.
+
### `ERR_STDERR_CLOSE`