Skip to content

Commit ea2b576

Browse files
maclover7MylesBorins
authored andcommitted
errors: remove duplicated ERR_HTTP_INVALID_STATUS_CODE error
PR-URL: #15003 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 69e3bc6 commit ea2b576

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/errors.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ E('ERR_ENCODING_NOT_SUPPORTED',
118118
E('ERR_FALSY_VALUE_REJECTION', 'Promise was rejected with falsy value');
119119
E('ERR_HTTP_HEADERS_SENT',
120120
'Cannot render headers after they are sent to the client');
121-
E('ERR_HTTP_INVALID_STATUS_CODE', 'Invalid status code: %s');
122121
E('ERR_HTTP_TRAILER_INVALID',
123122
'Trailers are invalid with this transfer encoding');
124123
E('ERR_HTTP_INVALID_CHAR', 'Invalid character in statusMessage.');

0 commit comments

Comments
 (0)