From 331d63624007be4bf49d6d161bdef2b5e540affa Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 25 Feb 2020 20:51:40 -0500 Subject: [PATCH] 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 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/errors.md | 14 +++++++++----- lib/internal/errors.js | 1 - 2 files changed, 9 insertions(+), 6 deletions(-) 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`