diff options
author | cjihrig <cjihrig@gmail.com> | 2020-02-26 04:51:40 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2020-02-28 05:01:32 +0300 |
commit | 331d63624007be4bf49d6d161bdef2b5e540affa (patch) | |
tree | c5384a548e812c94b0df97c5c783fd5ff019f667 /lib/internal/errors.js | |
parent | 1b2e2944bc069abd1dd7cbf90d3badad4289235d (diff) |
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>
Diffstat (limited to 'lib/internal/errors.js')
-rw-r--r-- | lib/internal/errors.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js index be4509a8c25..be7385644b0 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -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); |