errors: remove unused ERR_SOCKET_CANNOT_SEND error

This error is no longer used within core. This commit removes it.

PR-URL: https://github.com/nodejs/node/pull/31958
Refs: https://github.com/nodejs/help/issues/2484
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
cjihrig 2020-02-25 20:51:40 -05:00
parent 1b2e2944bc
commit 331d636240
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
2 changed files with 9 additions and 6 deletions

View File

@ -1727,11 +1727,6 @@ value.
While using [`dgram.createSocket()`][], the size of the receive or send `Buffer`
could not be determined.
<a id="ERR_SOCKET_CANNOT_SEND"></a>
### `ERR_SOCKET_CANNOT_SEND`
Data could be sent on a socket.
<a id="ERR_SOCKET_CLOSED"></a>
### `ERR_SOCKET_CLOSED`
@ -2293,6 +2288,15 @@ removed: v10.0.0
The `repl` module was unable to parse data from the REPL history file.
<a id="ERR_SOCKET_CANNOT_SEND"></a>
### `ERR_SOCKET_CANNOT_SEND`
<!-- YAML
added: v9.0.0
removed: REPLACEME
-->
Data could be sent on a socket.
<a id="ERR_STDERR_CLOSE"></a>
### `ERR_STDERR_CLOSE`
<!-- YAML

View File

@ -1288,7 +1288,6 @@ E('ERR_SOCKET_BAD_TYPE',
E('ERR_SOCKET_BUFFER_SIZE',
'Could not get or set buffer size',
SystemError);
E('ERR_SOCKET_CANNOT_SEND', 'Unable to send data', Error);
E('ERR_SOCKET_CLOSED', 'Socket is closed', Error);
E('ERR_SOCKET_DGRAM_IS_CONNECTED', 'Already connected', Error);
E('ERR_SOCKET_DGRAM_NOT_CONNECTED', 'Not connected', Error);